]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 633298 - Please add a 'form' hook to attachment/create.html.tmpl and attachment...
authorDavid Lawrence <dlawrence@mozilla.com>
Fri, 11 Feb 2011 21:54:01 +0000 (16:54 -0500)
committerDavid Lawrence <dlawrence@mozilla.com>
Fri, 11 Feb 2011 21:54:01 +0000 (16:54 -0500)
r/a=mkanat

template/en/default/attachment/create.html.tmpl
template/en/default/attachment/edit.html.tmpl

index b60463dd3a2cc1eaaf5e0d1b0ed2dc79926bc6f8..863d83ad079f3f343a141849a4eab148e32b6281 100644 (file)
@@ -129,6 +129,9 @@ TUI_hide_default('attachment_text_field');
         </td>
       </tr>
     [% END %]
+
+    [% Hook.process('form_before_submit') %]
+
     <tr>
       <th>&nbsp;</th>
       <td><input type="submit" id="create" value="Submit"></td>
index eeebcffae5894f118d014777d8e32e288c9b8bcb..fa5e1ee9166edce0de0f28b2f49c2f1071332168 100644 (file)
      
           [% END %]
         </div>
+
+        [% Hook.process('form_before_submit') %]
+
         [% IF user.id %]       
           <div id="update_container">
             <input type="submit" value="Submit" id="update">