Commit bbf52ca41a0f8173bea54da731144147982f2580
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 | 24 | ) = |
| 25 | 25 | with dropzone_form_id = to_lower(dropzone_form_name+"_"+generate_random_string(15)), |
| 26 | 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 | 29 | js_script(" |
| 30 | 30 | Dropzone.options." + to_Camel_case(dropzone_form_id) + " = { |
| 31 | 31 | dictDefaultMessage : \"" + dict_default_message + "\", | ... | ... |
web/jQuery/jq_button.anubis
| ... | ... | @@ -267,7 +267,7 @@ public define HTML_Partial_Content |
| 267 | 267 | partial_content( |
| 268 | 268 | [ |
| 269 | 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 | 271 | js_inline(jquery_ready("$('.jq_img_btn').button();")) |
| 272 | 272 | ], |
| 273 | 273 | jquery_button_html(button, button_id_str)) |
| ... | ... | @@ -286,7 +286,7 @@ public define HTML_Partial_Content |
| 286 | 286 | )= |
| 287 | 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 | 290 | js_data = js_confirm_dialog_data_obj + " = { |
| 291 | 291 | title: " + to_JS_String(dlg_title) + ", |
| 292 | 292 | text: " + to_JS_String(dlg_text) + ", |
| ... | ... | @@ -294,11 +294,11 @@ public define HTML_Partial_Content |
| 294 | 294 | cancel: " + to_JS_String(dlg_cancel) + "};", |
| 295 | 295 | |
| 296 | 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 | 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 | 302 | js_inline(jquery_ready(js_data)) |
| 303 | 303 | ], |
| 304 | 304 | sequence([ |
| ... | ... | @@ -322,7 +322,7 @@ public define HTML_Partial_Content |
| 322 | 322 | since button is jquery_img_button(img_url, button_label, button_name, actioner, orientation), |
| 323 | 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 | 326 | js_data = js_confirm_dialog_data_obj + " = { |
| 327 | 327 | title: " + to_JS_String(dlg_title) + ", |
| 328 | 328 | text: " + to_JS_String(dlg_text) + ", |
| ... | ... | @@ -330,7 +330,7 @@ public define HTML_Partial_Content |
| 330 | 330 | cancel: " + to_JS_String(dlg_cancel) + "};", |
| 331 | 331 | |
| 332 | 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 | 335 | partial_content([ |
| 336 | 336 | js(js_file("js/cxm/cxm.js")), | ... | ... |