Changeset 15634


Ignore:
Timestamp:
3 Oct 2019, 15:48:17 (5 years ago)
Author:
Henrik Bettermann
Message:

Hand over form data to dataNotComplete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r15584 r15634  
    11801180        return
    11811181
    1182     def dataNotComplete(self):
     1182    def dataNotComplete(self, data):
    11831183        if self.context.__parent__.with_picture:
    11841184            store = getUtility(IExtFileStore)
     
    12471247        if self.upload_success is False:  # False is not None!
    12481248            return # error during image upload. Ignore other values
    1249         if self.dataNotComplete():
    1250             self.flash(self.dataNotComplete(), type='danger')
     1249        if self.dataNotComplete(data):
     1250            self.flash(self.dataNotComplete(data), type='danger')
    12511251            return
    12521252        self.applyData(self.context, **data)
Note: See TracChangeset for help on using the changeset viewer.