Changeset [387065c078ce96cac36e2e9b50ab41069811e041] by Shawn Balestracci
Revision 387065c078ce96cac36e2e9b50ab41069811e041,
committed by Shawn Balestracci
· October 28th, 2010 @ 09:42 PM
prevent deletion of checklist builder components that are in
use
http://github.com/vegantech/sims/commit/387065c078ce96cac36e2e9b50a...
12 changed files
-
M
app/controllers/checklist_builder/answers_controller.rb -
M
app/controllers/checklist_builder/checklists_controller.rb -
M
app/controllers/checklist_builder/elements_controller.rb -
M
app/controllers/checklist_builder/questions_controller.rb -
M
app/models/answer_definition.rb -
M
app/models/element_definition.rb -
M
app/models/question_definition.rb -
M
app/views/checklist_builder/answers/destroy.js.rjs -
M
app/views/checklist_builder/checklists/destroy.js.rjs -
M
app/views/checklist_builder/elements/destroy.js.rjs -
M
app/views/checklist_builder/questions/destroy.js.rjs -
M
spec/controllers/checklist_builder/questions_controller_spec.rb