From: Moritz Bunkus Date: Wed, 13 Mar 2013 16:59:59 +0000 (+0100) Subject: Refactoring: L.button_tag("submit_ajax_form()") zu L.ajax_submit_tag() X-Git-Tag: release-3.2.0beta~467^2~207 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e3f3d500254695fb2a8d6956bb720f45e04d4604;p=kivitendo-erp.git Refactoring: L.button_tag("submit_ajax_form()") zu L.ajax_submit_tag() --- diff --git a/templates/webpages/requirement_spec/_form.html b/templates/webpages/requirement_spec/_form.html index 68d9153db..69a111f14 100644 --- a/templates/webpages/requirement_spec/_form.html +++ b/templates/webpages/requirement_spec/_form.html @@ -43,8 +43,8 @@ [%- END %] [% LxERP.t8('Abort') %] [% ELSE %] - [% L.button_tag("submit_ajax_form('controller.pl?action=RequirementSpec/update', '#" _ id_prefix _ "')", LxERP.t8("Save")) %] - [% L.button_tag("submit_ajax_form('controller.pl?action=RequirementSpec/destroy', '#" _ id_prefix _ "')", LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %] + [% L.ajax_submit_tag("controller.pl?action=RequirementSpec/update", "#" _ id_prefix, LxERP.t8("Save")) %] + [% L.ajax_submit_tag("controller.pl?action=RequirementSpec/destroy", "#" _ id_prefix, LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %] [% END %]