From 7421144a87becbfd15144aed9aa36b3c95a425c7 Mon Sep 17 00:00:00 2001 From: totoro Date: Wed, 20 May 2020 16:22:15 +0900 Subject: [PATCH] add img_submit_button_load with extra arguments --- web/jQuery/CXM_jquery_button.anubis | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/web/jQuery/CXM_jquery_button.anubis b/web/jQuery/CXM_jquery_button.anubis index e6b02c3..5de32a6 100644 --- a/web/jQuery/CXM_jquery_button.anubis +++ b/web/jQuery/CXM_jquery_button.anubis @@ -378,10 +378,21 @@ public define HTML_Partial_Content String label, //translated label of the button String form_id, //form id to submit String target_id, - WEB_Action_Name action + WEB_Action_Name action, + List((String,String)) extra_args + )= + jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqformload(form_id, target_id, action, extra_args)), left)). + +public define HTML_Partial_Content + img_submit_button_load + ( + String label, //translated label of the button + String form_id, //form id to submit + String target_id, + WEB_Action_Name action, )= jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqformload(form_id, target_id, action, [])), left)). - + public define HTML_Partial_Content img_submit_button -- libgit2 0.21.4