Commit 5b85c04ccb6f2723207bb2b0640de7ec64850665
1 parent
2686174d
made more compatible with WEB_Action
Showing
4 changed files
with
7 additions
and
4 deletions
Show diff stats
web/CXM_jquery.anubis
| @@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
| 6 | * | 6 | * |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | -read calexium_lib/web/CXM_making_a_web_site.anubis | 9 | +transmit calexium_lib/web/CXM_making_a_web_site.anubis |
| 10 | read tools/printable_tree.anubis | 10 | read tools/printable_tree.anubis |
| 11 | read tools/basis.anubis | 11 | read tools/basis.anubis |
| 12 | 12 | ||
| @@ -18,6 +18,8 @@ public type JQuery_Actioner_type: | @@ -18,6 +18,8 @@ public type JQuery_Actioner_type: | ||
| 18 | jqscript( String script) | 18 | jqscript( String script) |
| 19 | . | 19 | . |
| 20 | 20 | ||
| 21 | +public define JQuery_Actioner_type jqlink(String name) = jqlink(action_name(name)). | ||
| 22 | + | ||
| 21 | /* jQuery Actioner */ | 23 | /* jQuery Actioner */ |
| 22 | public type JQuery_Actioner: | 24 | public type JQuery_Actioner: |
| 23 | jQuery_actioner(Actioner_Target target, JQuery_Actioner_type type). //, String url_or_form_id_or_script | 25 | jQuery_actioner(Actioner_Target target, JQuery_Actioner_type type). //, String url_or_form_id_or_script |
web/jQuery/CXM_jq_checkbox.anubis
| @@ -58,7 +58,7 @@ public define HTML_Partial_Content | @@ -58,7 +58,7 @@ public define HTML_Partial_Content | ||
| 58 | [ | 58 | [ |
| 59 | js_inline(jquery_ready(checkbox_init_script(checkbox_id, initial_state))) | 59 | js_inline(jquery_ready(checkbox_init_script(checkbox_id, initial_state))) |
| 60 | ], | 60 | ], |
| 61 | - jquery_button(jquery_img_button(image_url, checkbox_label, checkbox_id, jQuery_actioner(same, jqscript, checkbox_onclick_script(checkbox_id, on_script, off_script)), orientation)) | 61 | + jquery_button(jquery_img_button(image_url, checkbox_label, checkbox_id, jQuery_actioner(same, jqscript(checkbox_onclick_script(checkbox_id, on_script, off_script))), orientation)) |
| 62 | ). | 62 | ). |
| 63 | 63 | ||
| 64 | public define HTML_Partial_Content | 64 | public define HTML_Partial_Content |
web/jQuery/CXM_jq_radio.anubis
| 1 | -/* | 1 | +/* |
| 2 | * Created by PyramIDE. | 2 | * Created by PyramIDE. |
| 3 | * User: フランスのトトロ | 3 | * User: フランスのトトロ |
| 4 | * Date: 28/06/2015 | 4 | * Date: 28/06/2015 |
| @@ -96,7 +96,7 @@ public define HTML_Partial_Content | @@ -96,7 +96,7 @@ public define HTML_Partial_Content | ||
| 96 | [ | 96 | [ |
| 97 | js_inline(jquery_ready(radio_init_script(radio_id, radio_group, initial_state))) | 97 | js_inline(jquery_ready(radio_init_script(radio_id, radio_group, initial_state))) |
| 98 | ], | 98 | ], |
| 99 | - jquery_button(jquery_img_button(image_url, checkbox_label, radio_id, jQuery_actioner(same, jqscript, radio_onclick_script(radio_id, radio_group, multi_select_with_shift, on_script)), orientation)) | 99 | + jquery_button(jquery_img_button(image_url, checkbox_label, radio_id, jQuery_actioner(same, jqscript(radio_onclick_script(radio_id, radio_group, multi_select_with_shift, on_script))), orientation)) |
| 100 | ). | 100 | ). |
| 101 | 101 | ||
| 102 | public define HTML_Partial_Content | 102 | public define HTML_Partial_Content |
web/jQuery/CXM_jquery_dialog.anubis
| @@ -18,6 +18,7 @@ public type JQuery_dialog: | @@ -18,6 +18,7 @@ public type JQuery_dialog: | ||
| 18 | off_form(HTML_Off_Form o_form), | 18 | off_form(HTML_Off_Form o_form), |
| 19 | ajax(WEB_Action_Name url). | 19 | ajax(WEB_Action_Name url). |
| 20 | 20 | ||
| 21 | +public define JQuery_dialog ajax(String url) = ajax(action_name(url)). | ||
| 21 | 22 | ||
| 22 | public define HTML_Partial_Content | 23 | public define HTML_Partial_Content |
| 23 | jq_dialog_create | 24 | jq_dialog_create |