0001-workflows-don-t-fail-on-commentable-action-not-havin.patch
wcs/workflows.py | ||
---|---|---|
1118 | 1118 |
form.add_submit('button%s' % self.id, _('Add Comment')) |
1119 | 1119 |
elif self.button_label: |
1120 | 1120 |
form.add_submit('button%s' % self.id, self.button_label) |
1121 |
form.get_widget('button%s' % self.id).backoffice_info_text = self.backoffice_info_text |
|
1121 |
if form.get_widget('button%s' % self.id): |
|
1122 |
form.get_widget('button%s' % self.id).backoffice_info_text = self.backoffice_info_text |
|
1122 | 1123 | |
1123 | 1124 |
def submit_form(self, form, formdata, user, evo): |
1124 | 1125 |
if form.get_widget('comment'): |
1125 |
- |