]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Kosmetik: Auftrags-Controller: js: Einrückung und Position der Funktion
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 11 Mar 2021 07:50:28 +0000 (08:50 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 11 Mar 2021 07:50:28 +0000 (08:50 +0100)
js/kivi.Order.js

index f6d042752e476fe81a7ff73ea4e0fc1b1dcb19f1..714a40e53d3f90b5e9a85c3b314df6ec72919d9f 100644 (file)
@@ -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());