From 39bbd478869bbcd482226d68f7fadcd6bc4da0eb Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 18 Apr 2013 14:11:02 +0200 Subject: [PATCH] =?utf8?q?ClientJS:=20"jqmClose()"=20zum=20Schlie=C3=9Fen?= =?utf8?q?=20von=20jqModal-Dialogen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/ClientJS.pm | 5 +++++ js/client_js.js | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.20.1