From 9357849d00aaf742a9ec100e56ed5f996d5d6dbb Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 11 Feb 2011 16:54:01 -0500 Subject: Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment/edit.html.tmpl r/a=mkanat --- template/en/default/attachment/create.html.tmpl | 3 +++ template/en/default/attachment/edit.html.tmpl | 3 +++ 2 files changed, 6 insertions(+) (limited to 'template/en') 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'); [% 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 eeebcffae..fa5e1ee91 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 %]
-- cgit v1.2.3-24-g4f1b