- Timestamp:
- 27 May 2023, 08:17:14 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pages.py
r17424 r17426 50 50 class CustomExportCSVPage(ExportCSVPage): 51 51 52 def update(self): 52 def update(self, CREATE=None, DISCARD=None, PURGE=None, exporter=None, 53 job_id=None, CANCEL=None): 53 54 if self.request.principal.id not in ( 54 55 'admin', 'zope.manager', 'zope.mgr', 'amadin'): … … 56 57 type='warning') 57 58 return self.redirect(self.url(self.context)) 58 return super(CustomExportCSVPage,self).update() 59 return super(CustomExportCSVPage,self).update(CREATE, DISCARD, 60 PURGE, exporter, job_id, CANCEL) 59 61 60 62 class CustomReportsContainerPage(ReportsContainerPage): 61 63 62 def update(self ):64 def update(self, job_id=None, DISCARD=None, DOWNLOAD=None, PURGE=None): 63 65 if self.request.principal.id not in ( 64 66 'admin', 'zope.manager', 'zope.mgr', 'amadin'): … … 66 68 type='warning') 67 69 return self.redirect(self.application_url()) 68 return super(CustomReportsContainerPage,self).update() 70 return super(CustomReportsContainerPage,self).update( 71 job_id, DISCARD, DOWNLOAD, PURGE)
Note: See TracChangeset for help on using the changeset viewer.