Changeset 632

Show
Ignore:
Timestamp:
07/16/10 12:54:54 (4 years ago)
Author:
gav
Message:

Some comments to CostCodeDetailedController.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/CostCodeDetailedController.groovy

    r628 r632  
    7171                def version = params.version.toLong() 
    7272                if(costCodeInstance.version > version) { 
    73                      
     73 
    7474                    costCodeInstance.errors.rejectValue("version", "default.optimistic.locking.failure") 
    7575                    render(view:'edit',model:[costCodeInstance:costCodeInstance]) 
     
    107107            render(view:'create',model:[costCodeInstance:costCodeInstance]) 
    108108        } 
    109     } 
    110 } 
     109    } // save 
     110 
     111} // end class