Commit 7437969b3987e052b925fa49dc78b8a1d9291ffa

Authored by totoro
1 parent ac53fdfd

add img_button with action

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
web/jQuery/CXM_jquery_button.anubis
... ... @@ -323,3 +323,12 @@ public define HTML_Partial_Content
323 323 String form_id //
324 324 )=
325 325 jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqform, form_id), left)).
  326 +
  327 +public define HTML_Partial_Content
  328 + img_button
  329 + (
  330 + String icon,
  331 + String label, //translated label of the button
  332 + String action
  333 + )=
  334 + jquery_button(jquery_img_button(icon, label, "", jQuery_actioner(same, jqlink, action), left)).
... ...