Commit 6a265e88663121272db774cea4a83a83db474c17

Authored by David RENÉ
1 parent ab57e435

[+] load_in_tab load in browser tab a WEB_Action_Name with his arguments

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
web/load_content.anubis
@@ -13,6 +13,15 @@ read xlib/web/web_action.anubis @@ -13,6 +13,15 @@ read xlib/web/web_action.anubis
13 read xlib/web/js_tools.anubis 13 read xlib/web/js_tools.anubis
14 14
15 public define String 15 public define String
  16 + load_in_tab
  17 + (
  18 + WEB_Action_Name web_action,
  19 + List((String,String)) extra_args
  20 + )=
  21 + "window.open('"+format_web_action_name(web_action, extra_args)+"', '_blank');"
  22 +.
  23 +
  24 +public define String
16 load_page 25 load_page
17 ( 26 (
18 WEB_Action_Name web_action, 27 WEB_Action_Name web_action,