Changeset 9280
- Timestamp:
- 3 Oct 2012, 07:05:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9273 r9280 2051 2051 self.redirect(self.url(self.context, 'ctadd')) 2052 2052 2053 @jsaction(_('Remove selected tickets')) 2054 def delCourseTicket(self, **data): 2053 def _delCourseTicket(self, **data): 2055 2054 form = self.request.form 2056 2055 if form.has_key('val_id'): … … 2074 2073 return 2075 2074 2076 @action(_('Register course list'), style='primary') 2077 def registerCourses(self, **data): 2075 @jsaction(_('Remove selected tickets')) 2076 def delCourseTicket(self, **data): 2077 self._delCourseTicket(**data) 2078 return 2079 2080 def _registerCourses(self, **data): 2078 2081 if self.context.student.is_postgrad: 2079 2082 self.flash(_( … … 2091 2094 self.redirect(self.url(self.context)) 2092 2095 return 2096 2097 @action(_('Register course list'), style='primary') 2098 def registerCourses(self, **data): 2099 self._registerCourses(**data) 2100 return 2101 2093 2102 2094 2103 class CourseTicketAddFormPage2(CourseTicketAddFormPage):
Note: See TracChangeset for help on using the changeset viewer.