From 7437969b3987e052b925fa49dc78b8a1d9291ffa Mon Sep 17 00:00:00 2001 From: totoro Date: Fri, 15 Apr 2016 16:48:13 +0200 Subject: [PATCH] add img_button with action --- web/jQuery/CXM_jquery_button.anubis | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/web/jQuery/CXM_jquery_button.anubis b/web/jQuery/CXM_jquery_button.anubis index 6685f0b..cf73916 100644 --- a/web/jQuery/CXM_jquery_button.anubis +++ b/web/jQuery/CXM_jquery_button.anubis @@ -323,3 +323,12 @@ public define HTML_Partial_Content String form_id // )= jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqform, form_id), left)). + +public define HTML_Partial_Content + img_button + ( + String icon, + String label, //translated label of the button + String action + )= + jquery_button(jquery_img_button(icon, label, "", jQuery_actioner(same, jqlink, action), left)). -- libgit2 0.21.4