]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/am/form_footer.html
epic-ts
[mfinanz.git] / templates / webpages / am / form_footer.html
index c5c9e34bbafc9df8469c3b6966e1b2385e35acad..18a561f020ccf66915f590fcf3669251e591d825 100644 (file)
@@ -5,7 +5,7 @@
 [% L.hidden_tag('callback', callback) %]
 
 <br>
-[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save')) %][% END %]
+[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save'), onclick = 'if ( typeof(callback_save) === "function" ) return callback_save(); ') %][% END %]
 [%- IF show_delete %][% L.submit_tag('action', LxERP.t8('Delete')) %][% END %]
 [%- IF show_save_as_new %][% L.submit_tag('action', LxERP.t8('Save as new')) %][% END %]