Changeset 7108 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 14 Nov 2011, 10:01:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7107 r7108 70 70 changed_fields = reduce(lambda x,y: x+y, changed_fields.values()) 71 71 fields_string = ' + '.join(changed_fields) 72 view.context._p_changed = True72 #view.context._p_changed = True 73 73 view.flash('Form has been saved.') 74 74 if fields_string: 75 write_log_message(view, 'saved: % 75 write_log_message(view, 'saved: %s' % fields_string) 76 76 return 77 77 … … 470 470 title = 'Clearance Data' 471 471 pnav = 4 472 files_changed = []473 files_deleted = []474 472 475 473 form_fields['date_of_birth'].custom_widget = FriendlyDateWidget('le-year') … … 479 477 return super(StudentClearanceManageFormPage, self).update() 480 478 481 @grok.action('Save ')479 @grok.action('Save (no upload)') 482 480 def save(self, **data): 483 481 msave(self, **data)
Note: See TracChangeset for help on using the changeset viewer.