Changeset 760 for branches/features/taskProcedureRework/grails-app/controllers/TaskProcedureDetailedController.groovy
- Timestamp:
- Jan 26, 2011, 5:35:35 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/controllers/TaskProcedureDetailedController.groovy
r758 r760 98 98 } 99 99 taskProcedureInstance.properties = params 100 101 def toBeDeleted = taskProcedureInstance.maintenanceActions.findAll {it._deleted} 102 if(toBeDeleted) { 103 taskProcedureInstance.maintenanceActions.removeAll(toBeDeleted) 104 } 105 100 106 if(!taskProcedureInstance.hasErrors() && taskProcedureInstance.save(flush: true)) { 101 107 flash.message = "TaskProcedure ${params.id} updated"
Note: See TracChangeset
for help on using the changeset viewer.