Changeset 7490 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 20 Jan 2012, 08:07:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7484 r7490 419 419 datepicker.need() # Enable jQuery datepicker in date fields. 420 420 tabs.need() 421 self.tab1 = self.tab2 = '' 422 qs = self.request.get('QUERY_STRING', '') 423 if not qs: 424 qs = 'tab1' 425 setattr(self, qs, 'active') 421 426 super(StudentBaseManageFormPage, self).update() 422 427 self.wf_info = IWorkflowInfo(self.context) … … 564 569 datepicker.need() # Enable jQuery datepicker in date fields. 565 570 tabs.need() 571 self.tab1 = self.tab2 = '' 572 qs = self.request.get('QUERY_STRING', '') 573 if not qs: 574 qs = 'tab1' 575 setattr(self, qs, 'active') 566 576 return super(StudentClearanceManageFormPage, self).update() 567 577 … … 714 724 super(StudyCourseManageFormPage, self).update() 715 725 tabs.need() 716 warning.need()717 datatable.need()718 726 self.tab1 = self.tab2 = '' 719 727 qs = self.request.get('QUERY_STRING', '') … … 721 729 qs = 'tab1' 722 730 setattr(self, qs, 'active') 723 return 731 warning.need() 732 datatable.need() 733 return 724 734 725 735 @action('Save', style='primary') … … 897 907 super(StudyLevelManageFormPage, self).update() 898 908 tabs.need() 899 warning.need()900 datatable.need()901 909 self.tab1 = self.tab2 = '' 902 910 qs = self.request.get('QUERY_STRING', '') … … 904 912 qs = 'tab1' 905 913 setattr(self, qs, 'active') 914 warning.need() 915 datatable.need() 906 916 return 907 917 … … 2061 2071 def update(self): 2062 2072 super(StudyLevelEditFormPage, self).update() 2063 # tabs.need()2064 2073 datatable.need() 2065 2074 warning.need()
Note: See TracChangeset for help on using the changeset viewer.