Commit 6fe23a09dbcff7792746ec55c011f667a229a8de

Authored by totoro
1 parent e318729d

improve compatibility with application use previous version of Calexium_LIB

web/CXM_form.anubis
@@ -750,6 +750,23 @@ public define HTML_In_Form @@ -750,6 +750,23 @@ public define HTML_In_Form
750 to_HTML_In_Form(fields, lwa, "", true) 750 to_HTML_In_Form(fields, lwa, "", true)
751 . 751 .
752 752
  753 +public define HTML_In_Form
  754 + to_HTML_In_Form
  755 + (
  756 + CXM_Form_Field field,
  757 + List(Web_arg) lwa
  758 + )=
  759 + to_HTML_In_Form([field], lwa, "", true)
  760 +.
  761 +
  762 +public define HTML_In_Form
  763 + to_HTML_In_Form
  764 + (
  765 + List(CXM_Form_Field) fields
  766 + )=
  767 + to_HTML_In_Form(fields, [], "", true)
  768 +.
  769 +
753 public define HTML_Off_Form 770 public define HTML_Off_Form
754 cxm_form 771 cxm_form
755 ( 772 (
web/CXM_jquery.anubis
@@ -20,6 +20,7 @@ public type JQuery_Actioner_type: @@ -20,6 +20,7 @@ public type JQuery_Actioner_type:
20 20
21 public define JQuery_Actioner_type jqlink(WEB_Action_Name name) = jqlink(name, []). 21 public define JQuery_Actioner_type jqlink(WEB_Action_Name name) = jqlink(name, []).
22 public define JQuery_Actioner_type jqlink(String name) = jqlink(action_name(name), []). 22 public define JQuery_Actioner_type jqlink(String name) = jqlink(action_name(name), []).
  23 +public define JQuery_Actioner_type jqform(String form) = jqform(form, no_action, []).
23 24
24 /* jQuery Actioner */ 25 /* jQuery Actioner */
25 public type JQuery_Actioner: 26 public type JQuery_Actioner:
web/CXM_making_a_web_site.anubis
@@ -5371,15 +5371,15 @@ public define Printable_tree @@ -5371,15 +5371,15 @@ public define Printable_tree
5371 if tooltip is 5371 if tooltip is
5372 { 5372 {
5373 html_tooltip(title, keyword, width) then 5373 html_tooltip(title, keyword, width) then
5374 - ["<a id=\"help_",keyword,"\" class=\"jTipu \" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&amp;tooltip_id=",keyword,(if width > 0 then ["&width=",width,"\""] else ["\""]), "><i class=\"fa fa-info\" aria-hidden=\"true\" style=\"color:#2e6da4\"></i></a>"], 5374 + ["<a id=\"help_",keyword,"\" class=\"jTipu \" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&tooltip_id=",keyword,(if width > 0 then ["&width=",width,"\""] else ["\""]), "><i class=\"fa fa-info\" aria-hidden=\"true\" style=\"color:#2e6da4\"></i></a>"],
5375 5375
5376 html_tooltip_ext(title, extend_type, class_suffix, ext_args) then 5376 html_tooltip_ext(title, extend_type, class_suffix, ext_args) then
5377 with extra_args = format_extra_operands(ext_args), 5377 with extra_args = format_extra_operands(ext_args),
5378 - ["<a id=\"jTip\" class=\"jTipu jTip_",class_suffix,"\" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&amp;tooltip_ext=",extend_type+extra_args,"\"></a>"] 5378 + ["<a id=\"jTip\" class=\"jTipu jTip_",class_suffix,"\" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&tooltip_ext=",extend_type+extra_args,"\"></a>"]
5379 5379
5380 html_tooltip_ext(title, extend_type, ext_args) then 5380 html_tooltip_ext(title, extend_type, ext_args) then
5381 with extra_args = format_extra_operands(ext_args), 5381 with extra_args = format_extra_operands(ext_args),
5382 - ["<a id=\"jTip\" class=\"jTipu \" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&amp;tooltip_ext=",extend_type+extra_args,"\"><i class=\"fa fa-info\" aria-hidden=\"true\" style=\"color:#2e6da4\"></i></a>"] 5382 + ["<a id=\"jTip\" class=\"jTipu \" name=\"",title,"\" href=\"/?a=ajax_show_tooltip&tooltip_ext=",extend_type+extra_args,"\"><i class=\"fa fa-info\" aria-hidden=\"true\" style=\"color:#2e6da4\"></i></a>"]
5383 }. 5383 }.
5384 5384
5385 public define HTML_Off_Form 5385 public define HTML_Off_Form
web/jQuery/CXM_jquery_tiptip.anubis
@@ -72,13 +72,13 @@ public define HTML_Partial_Content @@ -72,13 +72,13 @@ public define HTML_Partial_Content
72 JQ_tiptip_position position 72 JQ_tiptip_position position
73 ) 73 )
74 = 74 =
75 - with uid = tooltip_id+"-"+(Int)now, 75 + with uid = tooltip_id+"_"+(Int)now,
76 if tooltip_partial_content is partial_content(head, body) then 76 if tooltip_partial_content is partial_content(head, body) then
77 partial_content( 77 partial_content(
78 [ 78 [
79 js_inline(jquery_ready(" 79 js_inline(jquery_ready("
80 var tooltip_"+uid+"=$('#"+uid+"').html(); 80 var tooltip_"+uid+"=$('#"+uid+"').html();
81 - $('#"+rollovered_id+"').tipTip({maxWidth: 'auto', edgeOffset: 10, defaultPosition: \""+jq_tiptip_position_to_string(position)+"\", content: tooltip_"+now+"}); 81 + $('#"+rollovered_id+"').tipTip({maxWidth: 'auto', edgeOffset: 10, defaultPosition: \""+jq_tiptip_position_to_string(position)+"\", content: tooltip_"+uid+"});
82 ")) 82 "))
83 . 83 .
84 head 84 head