Commit 7421144a87becbfd15144aed9aa36b3c95a425c7
1 parent
2fa1e96b
add img_submit_button_load with extra arguments
Showing
1 changed file
with
13 additions
and
2 deletions
Show diff stats
web/jQuery/CXM_jquery_button.anubis
| @@ -378,10 +378,21 @@ public define HTML_Partial_Content | @@ -378,10 +378,21 @@ 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, //form id to submit | 379 | String form_id, //form id to submit |
| 380 | String target_id, | 380 | String target_id, |
| 381 | - WEB_Action_Name action | 381 | + WEB_Action_Name action, |
| 382 | + List((String,String)) extra_args | ||
| 383 | + )= | ||
| 384 | + jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqformload(form_id, target_id, action, extra_args)), left)). | ||
| 385 | + | ||
| 386 | +public define HTML_Partial_Content | ||
| 387 | + img_submit_button_load | ||
| 388 | + ( | ||
| 389 | + String label, //translated label of the button | ||
| 390 | + String form_id, //form id to submit | ||
| 391 | + String target_id, | ||
| 392 | + WEB_Action_Name action, | ||
| 382 | )= | 393 | )= |
| 383 | jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqformload(form_id, target_id, action, [])), left)). | 394 | jquery_button(jquery_img_button(icn16_check, label, "", jQuery_actioner(same, jqformload(form_id, target_id, action, [])), left)). |
| 384 | - | 395 | + |
| 385 | 396 | ||
| 386 | public define HTML_Partial_Content | 397 | public define HTML_Partial_Content |
| 387 | img_submit_button | 398 | img_submit_button |