From dd7123b83884a43fda6440c81bb70ad79919b674 Mon Sep 17 00:00:00 2001 From: totoro Date: Thu, 16 Mar 2017 00:22:52 +0100 Subject: [PATCH] add management of WEB_Action_Name (no_action) in JQuery base --- web/CXM_jquery.anubis | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/CXM_jquery.anubis b/web/CXM_jquery.anubis index 68e92c1..66b8df6 100644 --- a/web/CXM_jquery.anubis +++ b/web/CXM_jquery.anubis @@ -77,6 +77,7 @@ public define String jqlink(control_action) then if control_action is { + no_action then "", controller_action(ctrl, action) then "document.location='/?aws_controller="+ctrl+"&aws_action="+action+"';", action_name(action) then "document.location='/?aws_action="+action+"';", url(url) then "document.location='"+url+"';", @@ -91,9 +92,10 @@ public define String jqlink(control_action) then if control_action is { - controller_action(ctrl, action) then "document.location='/?aws_controller="+ctrl+"&aws_action="+action+"';", - action_name(action) then "document.location='/?aws_action="+action+"';", - url(url) then "document.location='"+url+"';", + no_action then "", + controller_action(ctrl, action) then "document.location='/?aws_controller="+ctrl+"&aws_action="+action+"';", + action_name(action) then "document.location='/?aws_action="+action+"';", + url(url) then "document.location='"+url+"';", } jqflink(link) then "document.location='"+link+"';", jqscript(script) then script @@ -105,6 +107,7 @@ public define String jqlink(control_action) then if control_action is { + no_action then "", controller_action(ctrl, action) then "window.open('aws_controller="+ctrl+"&aws_action="+action+"', '"+window_name+"', '"+jquery_button_get_onclick_action_window_options(window_options, "")+"');", //"document.location='/?aws_controller="+ctrl+"&aws_action="+action+"';", -- libgit2 0.21.4