Changeset 305 for trunk/grails-app/controllers
- Timestamp:
- Jan 29, 2010, 2:29:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AssetDetailedController.groovy
r302 r305 236 236 } 237 237 else { 238 return [ assetInstance : assetInstance ]238 return [ assetInstance : assetInstance, possibleAssetSubItems: assetService.possibleAssetSubItems() ] 239 239 } 240 240 } … … 251 251 252 252 assetInstance.errors.rejectValue("version", "asset.optimistic.locking.failure", "Another user has updated this Asset while you were editing.") 253 render(view:'edit',model:[assetInstance:assetInstance ])253 render(view:'edit',model:[assetInstance:assetInstance, possibleAssetSubItems: assetService.possibleAssetSubItems()]) 254 254 return 255 255 } … … 265 265 } 266 266 else { 267 render(view:'edit',model:[assetInstance:assetInstance ])267 render(view:'edit',model:[assetInstance:assetInstance, possibleAssetSubItems: assetService.possibleAssetSubItems()]) 268 268 } 269 269 }
Note: See TracChangeset
for help on using the changeset viewer.