]> 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:55:32 +0000 (16:55 -0500)
committerDavid Lawrence <dlawrence@mozilla.com>
Fri, 11 Feb 2011 21:55:32 +0000 (16:55 -0500)
r/a=mkanat

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

index c245048e3063261fd30b25cb15c8210e0c88d12a..acf9e23bb12ab40fdae14233024fe4e59ca9f05c 100644 (file)
         </td>
       </tr>
     [% END %]
+
+    [% Hook.process('form_before_submit') %]
+
     <tr>
       <th>&nbsp;</th>
       <td><input type="submit" id="create" value="Submit"></td>
index 16b62ecbb635f2415bc53bc43d2bce2254e8b5f2..752bbecc4d4cd2985dd8270b75544f0464775c4a 100644 (file)
      
           [% END %]
         </div>
+
+        [% Hook.process('form_before_submit') %]
+
         [% IF user.id %]       
           <div id="update_container">
             <input type="submit" value="Submit" id="update">