From: Moritz Bunkus Date: Thu, 18 Apr 2013 12:11:02 +0000 (+0200) Subject: ClientJS: "jqmClose()" zum Schließen von jqModal-Dialogen X-Git-Tag: release-3.1.0beta1~491 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=39bbd478869bbcd482226d68f7fadcd6bc4da0eb;p=kivitendo-erp.git ClientJS: "jqmClose()" zum Schließen von jqModal-Dialogen --- diff --git a/SL/ClientJS.pm b/SL/ClientJS.pm index 42317c369..a04702eb3 100644 --- a/SL/ClientJS.pm +++ b/SL/ClientJS.pm @@ -70,6 +70,11 @@ my %supported_methods = ( # Form Events focus => 1, + # ## jqModal plugin ## + + # Closing and removing the popup + jqmClose => 1, + # ## jstree plugin ## pattern: $.jstree._reference($()).() # Operations on the whole tree diff --git a/js/client_js.js b/js/client_js.js index d153b5330..abeac1b39 100644 --- a/js/client_js.js +++ b/js/client_js.js @@ -85,6 +85,11 @@ function eval_json_result(data) { // Form Events else if (action[0] == 'focus') $(action[1]).focus(); + // ## jqModal plugin ## + + // Closing and removing the popup + else if (action[0] == 'jqmClose') $(action[1]).jqmClose(); + // ## jstree plugin ## // Operations on the whole tree