From: David Lawrence Date: Fri, 11 Feb 2011 21:55:32 +0000 (-0500) Subject: Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment... X-Git-Tag: bugzilla-4.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63a432e628aaeae331825bc0ab9c599a519cc01;p=thirdparty%2Fbugzilla.git Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment/edit.html.tmpl r/a=mkanat --- diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index c245048e30..acf9e23bb1 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -123,6 +123,9 @@ [% END %] + + [% Hook.process('form_before_submit') %] +   diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 16b62ecbb6..752bbecc4d 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -275,6 +275,9 @@ [% END %] + + [% Hook.process('form_before_submit') %] + [% IF user.id %]