- Timestamp:
- 30 Jan 2014, 18:10:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser.py
r11012 r11014 51 51 from waeup.kofa.browser.pages import ( 52 52 add_local_role, del_local_roles, doll_up, ExportCSVView) 53 from waeup.kofa.browser.resources import datepicker, tabs,warning53 from waeup.kofa.browser.resources import datepicker, warning 54 54 from waeup.kofa.interfaces import ( 55 55 IKofaObject, ILocalRolesAssignable, IExtFileStore, IPDF, … … 150 150 def update(self): 151 151 warning.need() 152 self.tab1 = self.tab2 = self.tab3 = ''153 qs = self.request.get('QUERY_STRING', '')154 if not qs:155 qs = 'tab1'156 setattr(self, qs, 'active')157 152 return super(ApplicantsRootManageFormPage, self).update() 158 153 … … 380 375 datepicker.need() # Enable jQuery datepicker in date fields. 381 376 toggleall.need() 382 self.tab1 = self.tab2 = self.tab3 = ''383 qs = self.request.get('QUERY_STRING', '')384 if not qs:385 qs = 'tab1'386 setattr(self, qs, 'active')387 377 warning.need() 388 378 return super(ApplicantsContainerManageFormPage, self).update()
Note: See TracChangeset for help on using the changeset viewer.