Ignore:
Timestamp:
10 Jan 2013, 07:02:42 (12 years ago)
Author:
Henrik Bettermann
Message:

Reset default value of body field to avoid that the last officer comment is pre-filled in all contact forms.

File:
1 edited

Legend:

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

    r9845 r9857  
    426426
    427427    def update(self, subject=u'', body=u''):
     428        super(ContactStudentForm, self).update()
    428429        self.form_fields.get('subject').field.default = subject
    429430        self.form_fields.get('body').field.default = body
    430         return super(ContactStudentForm, self).update()
     431        return
    431432
    432433    def label(self):
Note: See TracChangeset for help on using the changeset viewer.