Commit c92db005afd21654a0a749326c971e871c5d3d9b
1 parent
9446f71c
add img_button with with extra_operands arguments
Showing
1 changed file
with
18 additions
and
5 deletions
Show diff stats
web/jQuery/CXM_jquery_button.anubis
| @@ -378,13 +378,26 @@ public define HTML_Partial_Content | @@ -378,13 +378,26 @@ public define HTML_Partial_Content | ||
| 378 | String label, //translated label of the button | 378 | String label, //translated label of the button |
| 379 | String form_id // | 379 | String form_id // |
| 380 | )= | 380 | )= |
| 381 | - jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqform(form_id, no_action, [])), left)). | 381 | + jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqform(form_id, no_action, [])), left)) |
| 382 | +. | ||
| 382 | 383 | ||
| 383 | public define HTML_Partial_Content | 384 | public define HTML_Partial_Content |
| 384 | img_button | 385 | img_button |
| 385 | ( | 386 | ( |
| 386 | - String icon, | ||
| 387 | - String label, //translated label of the button | ||
| 388 | - WEB_Action_Name action | 387 | + String icon, //URL of |
| 388 | + String label, //translated label of the button | ||
| 389 | + WEB_Action_Name action, | ||
| 390 | + List((String,String)) extra_ops | ||
| 391 | + )= | ||
| 392 | + jquery_button(jquery_img_button(icon, label, "", jQuery_actioner(same, jqlink(action, extra_ops)), left)) | ||
| 393 | +. | ||
| 394 | + | ||
| 395 | +public define HTML_Partial_Content | ||
| 396 | + img_button | ||
| 397 | + ( | ||
| 398 | + String icon, | ||
| 399 | + String label, //translated label of the button | ||
| 400 | + WEB_Action_Name action | ||
| 389 | )= | 401 | )= |
| 390 | - jquery_button(jquery_img_button(icon, label, "", jQuery_actioner(same, jqlink(action)), left)). | 402 | + jquery_button(jquery_img_button(icon, label, "", jQuery_actioner(same, jqlink(action)), left)) |
| 403 | +. |