diff options
author | David Lawrence <dlawrence@mozilla.com> | 2011-02-11 22:54:01 +0100 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2011-02-11 22:54:01 +0100 |
commit | 9357849d00aaf742a9ec100e56ed5f996d5d6dbb (patch) | |
tree | 47a7b6a76158938c308231f8c401e51e3489a3ef /template/en/default/attachment | |
parent | ce4451339427d2ec46edd8d20fcdc0e73743749b (diff) | |
download | bugzilla-9357849d00aaf742a9ec100e56ed5f996d5d6dbb.tar.gz bugzilla-9357849d00aaf742a9ec100e56ed5f996d5d6dbb.tar.xz |
Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment/edit.html.tmpl
r/a=mkanat
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index b60463dd3..863d83ad0 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -129,6 +129,9 @@ TUI_hide_default('attachment_text_field'); </td> </tr> [% END %] + + [% Hook.process('form_before_submit') %] + <tr> <th> </th> <td><input type="submit" id="create" value="Submit"></td> diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index eeebcffae..fa5e1ee91 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -266,6 +266,9 @@ [% END %] </div> + + [% Hook.process('form_before_submit') %] + [% IF user.id %] <div id="update_container"> <input type="submit" value="Submit" id="update"> |