X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/10fe22289afc69419e623b82a45df555e0c81ea6..a65dfe51eb299bf771348b847783662d914c15e6:/js/kivi.Order.js 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());