From: David Lawrence Date: Fri, 11 Feb 2011 21:54:01 +0000 (-0500) Subject: Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment... X-Git-Tag: bugzilla-4.1.1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9357849d00aaf742a9ec100e56ed5f996d5d6dbb;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 b60463dd3a..863d83ad07 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'); [% 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 eeebcffae5..fa5e1ee916 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -266,6 +266,9 @@ [% END %] + + [% Hook.process('form_before_submit') %] + [% IF user.id %]