Ignore:
Timestamp:
15 Dec 2014, 08:13:03 (10 years ago)
Author:
Henrik Bettermann
Message:

UtilityView? must be inherited before Image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/fileviewlets.py

    r12240 r12241  
    5656
    5757
    58 class PDFScanImage(Image, UtilityView):
     58class PDFScanImage(UtilityView, Image):
    5959    """Scan document.
    6060    """
     
    6565    download_name = u'sample.pdf'
    6666
    67     def render(self):
     67    def update(self):
    6868        if self.context.state != PUBLISHED:
    6969            self.flash(_('The document requested has not yet been published.'),
    7070                type="warning")
    7171            self.redirect(self.url(self.context))
    72             return
    73         return super(PDFScanImage, self).render()
    74 
     72        return
Note: See TracChangeset for help on using the changeset viewer.