From db4f65faaf59ddbba437ae3858a6a2a1e225bf3e Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 17 Sep 2022 15:40:30 +0900 Subject: [PATCH] [+] add function load_in_window which open a new window in HTML browser --- web/load_content.anubis | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/web/load_content.anubis b/web/load_content.anubis index 2d12bb1..14b0157 100644 --- a/web/load_content.anubis +++ b/web/load_content.anubis @@ -13,6 +13,15 @@ read xlib/web/web_action.anubis read xlib/web/js_tools.anubis public define String + load_in_window + ( + WEB_Action_Name web_action, + List((String,String)) extra_args + )= + "window.open('"+format_web_action_name(web_action, extra_args)+"', '_blank', 'location=0');" +. + +public define String load_in_tab ( WEB_Action_Name web_action, -- libgit2 0.21.4