From: Bernd Bleßmann Date: Thu, 11 Mar 2021 07:50:28 +0000 (+0100) Subject: Kosmetik: Auftrags-Controller: js: Einrückung und Position der Funktion X-Git-Tag: kivitendo-mebil_0.1-0~9^2~450 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a65dfe51eb299bf771348b847783662d914c15e6;p=kivitendo-erp.git Kosmetik: Auftrags-Controller: js: Einrückung und Position der Funktion --- diff --git a/js/kivi.Order.js b/js/kivi.Order.js index f6d042752..714a40e53 100644 --- a/js/kivi.Order.js +++ b/js/kivi.Order.js @@ -144,6 +144,12 @@ namespace('kivi.Order', function(ns) { $.post("controller.pl", data, kivi.eval_json_result); }; + ns.email_dialog_disable_send = function() { + // disable mail send event to prevent + // impatient users to send multiple times + $('#send_email').prop('disabled', true); + }; + ns.close_email_dialog = function() { email_dialog.dialog("close"); }; @@ -468,11 +474,6 @@ namespace('kivi.Order', function(ns) { pp.o.multiple=1; pp.open_dialog(); }; -ns.email_dialog_disable_send = function() { - // disable mail send event to prevent - // impatient users to send multiple times - $('#send_email').prop('disabled', true); - }; ns.add_multi_items = function(data) { var insert_before_item_id = ns.get_insert_before_item_id($('#multi_items_position').val());