Commit bbf52ca41a0f8173bea54da731144147982f2580

Authored by David RENÉ
1 parent 61e55d80

continue renaming to Xlib into the javascript and functions which call it.

Showing 2 changed files with 9 additions and 9 deletions   Show diff stats
web/CXM_dropzone.anubis
@@ -24,8 +24,8 @@ public define HTML_Partial_Content @@ -24,8 +24,8 @@ public define HTML_Partial_Content
24 ) = 24 ) =
25 with dropzone_form_id = to_lower(dropzone_form_name+"_"+generate_random_string(15)), 25 with dropzone_form_id = to_lower(dropzone_form_name+"_"+generate_random_string(15)),
26 partial_content( 26 partial_content(
27 - [ js(js_file("js/dropzone.js")),  
28 - css(css_file("css/dropzone.css")), 27 + [ js(js_file("xlib/js/dropzone.js")),
  28 + css(css_file("xlib/css/dropzone.css")),
29 js_script(" 29 js_script("
30 Dropzone.options." + to_Camel_case(dropzone_form_id) + " = { 30 Dropzone.options." + to_Camel_case(dropzone_form_id) + " = {
31 dictDefaultMessage : \"" + dict_default_message + "\", 31 dictDefaultMessage : \"" + dict_default_message + "\",
web/jQuery/jq_button.anubis
@@ -267,7 +267,7 @@ public define HTML_Partial_Content @@ -267,7 +267,7 @@ public define HTML_Partial_Content
267 partial_content( 267 partial_content(
268 [ 268 [
269 jquery_button_get_onclick_action(button_id_str, actioner), 269 jquery_button_get_onclick_action(button_id_str, actioner),
270 - css(css_file("css/cxm/cxm_button.css")), 270 + css(css_file("xlib/css/button.css")),
271 js_inline(jquery_ready("$('.jq_img_btn').button();")) 271 js_inline(jquery_ready("$('.jq_img_btn').button();"))
272 ], 272 ],
273 jquery_button_html(button, button_id_str)) 273 jquery_button_html(button, button_id_str))
@@ -286,7 +286,7 @@ public define HTML_Partial_Content @@ -286,7 +286,7 @@ public define HTML_Partial_Content
286 )= 286 )=
287 with uid = generate_random_string(10), 287 with uid = generate_random_string(10),
288 288
289 - js_confirm_dialog_data_obj = "CalexiumToolBox.data.confirm_dialog['" + uid + "']", 289 + js_confirm_dialog_data_obj = "Xlib.data.confirm_dialog['" + uid + "']",
290 js_data = js_confirm_dialog_data_obj + " = { 290 js_data = js_confirm_dialog_data_obj + " = {
291 title: " + to_JS_String(dlg_title) + ", 291 title: " + to_JS_String(dlg_title) + ",
292 text: " + to_JS_String(dlg_text) + ", 292 text: " + to_JS_String(dlg_text) + ",
@@ -294,11 +294,11 @@ public define HTML_Partial_Content @@ -294,11 +294,11 @@ public define HTML_Partial_Content
294 cancel: " + to_JS_String(dlg_cancel) + "};", 294 cancel: " + to_JS_String(dlg_cancel) + "};",
295 295
296 button_name = uid, 296 button_name = uid,
297 - _actioner = jQuery_actioner(same, jqscript("CalexiumToolBox.make_confirm_dialog(this, " /*+ to_js_string("/?a=" + url + format_extra_operands(extra_ops))+*/ + to_JS_String(jquery_button_get_onclick_action(actioner)) + ");")), 297 + _actioner = jQuery_actioner(same, jqscript("Xlib.make_confirm_dialog(this, " /*+ to_js_string("/?a=" + url + format_extra_operands(extra_ops))+*/ + to_JS_String(jquery_button_get_onclick_action(actioner)) + ");")),
298 298
299 partial_content([ 299 partial_content([
300 - js(js_file("js/cxm/cxm.js")),  
301 - css(css_file("css/cxm/cxm_button.css")), 300 + js(js_file("xlib/js/xlib.js")),
  301 + css(css_file("xlib/css/button.css")),
302 js_inline(jquery_ready(js_data)) 302 js_inline(jquery_ready(js_data))
303 ], 303 ],
304 sequence([ 304 sequence([
@@ -322,7 +322,7 @@ public define HTML_Partial_Content @@ -322,7 +322,7 @@ public define HTML_Partial_Content
322 since button is jquery_img_button(img_url, button_label, button_name, actioner, orientation), 322 since button is jquery_img_button(img_url, button_label, button_name, actioner, orientation),
323 with uid = generate_random_string(10), 323 with uid = generate_random_string(10),
324 324
325 - js_confirm_dialog_data_obj = "CalexiumToolBox.data.confirm_dialog['" + uid + "']", 325 + js_confirm_dialog_data_obj = "Xlib.data.confirm_dialog['" + uid + "']",
326 js_data = js_confirm_dialog_data_obj + " = { 326 js_data = js_confirm_dialog_data_obj + " = {
327 title: " + to_JS_String(dlg_title) + ", 327 title: " + to_JS_String(dlg_title) + ",
328 text: " + to_JS_String(dlg_text) + ", 328 text: " + to_JS_String(dlg_text) + ",
@@ -330,7 +330,7 @@ public define HTML_Partial_Content @@ -330,7 +330,7 @@ public define HTML_Partial_Content
330 cancel: " + to_JS_String(dlg_cancel) + "};", 330 cancel: " + to_JS_String(dlg_cancel) + "};",
331 331
332 _button_name = uid, 332 _button_name = uid,
333 - _actioner = jQuery_actioner(same, jqscript("CalexiumToolBox.make_confirm_dialog(this, " + to_JS_String(jquery_button_get_onclick_action(actioner)) +");")), 333 + _actioner = jQuery_actioner(same, jqscript("Xlib.make_confirm_dialog(this, " + to_JS_String(jquery_button_get_onclick_action(actioner)) +");")),
334 334
335 partial_content([ 335 partial_content([
336 js(js_file("js/cxm/cxm.js")), 336 js(js_file("js/cxm/cxm.js")),