Commit 055806ac4c6bb573aa9684fad921e231135c6e3a

Authored by David RENÉ
1 parent e7921b1c

continue to migrate to Xlib and change the folder for js and css files

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
view/view_table_renderer.anubis
... ... @@ -734,7 +734,7 @@ public define List(CXM_Form_Field)
734 734 //Get the priority of the web argument content for the value, this means the value already set by the user or called with programmaticaly with it
735 735 with value = get_DB_id(lwa, c_name, _value),
736 736 //create refresh function and call it first to construct the dropdown
737   - with load_script = script("text/javascript","function "+refresh_func+"() { CalexiumToolBox.ajax_load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"&"+to_Web_arg(table_referer, "")+"');} "+refresh_func+"(); "),
  737 + with load_script = script("text/javascript","function "+refresh_func+"() { Xlib.load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"&"+to_Web_arg(table_referer, "")+"');} "+refresh_func+"(); "),
738 738 [
739 739 partial(jq_dialog_create(dialog_id(uid+foreign_table_name+"_dlg_ajax"), ajax(controller_action("hk_c", "ajax_edit_table&dialog_id="+uid+foreign_table_name+"_dlg_ajax&sub_dialog=true&table_name="+foreign_table_name+"&after_close_cb="+refresh_func)))),
740 740 one_line_fields([
... ... @@ -865,8 +865,8 @@ public define HTML_Partial_Content
865 865 with form_id = dialog_id+"_form",
866 866 //println("renderer_edit_list_form dialog_id ["+dialog_id+"]");
867 867 partial_content(
868   - [ js(js_file("js/jscolor.min.js")),
869   - js(js_file("js/dropzone.js")),
  868 + [ js(js_file("hayamiki/js/jscolor.min.js")),
  869 + js(js_file("xlib/js/dropzone.js")),
870 870 js_inline(jquery_ready("Dropzone.options.myAwesomeDropzone = {
871 871 maxFiles: 100,
872 872 dictDefaultMessage : \""+_T("DROP_FILE_HERE")+"\",
... ... @@ -987,8 +987,8 @@ public define List(CXM_Form_Field)
987 987 with uid = "_"+generate_random_string(20)+"_",
988 988 with refresh_func = uid+foreign_table_name+"_"+c_name+"_selector_refresh",
989 989 with value = get_DB_id(lwa, c_name, _value),
990   - //with load_script = "CalexiumToolBox.ajax_load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"');",
991   - with load_script = script("text/javascript","function "+refresh_func+"() { CalexiumToolBox.ajax_load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"');} "+refresh_func+"(); "),
  990 + //with load_script = "Xlib.load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"');",
  991 + with load_script = script("text/javascript","function "+refresh_func+"() { Xlib.load_content('"+uid+foreign_table_name+"_"+c_name+"_selector', '?aws_controller=hk_c&aws_action=selector&table_name="+foreign_table_name+"&fk_filter="+fk_clause+"&selected="+value+"');} "+refresh_func+"(); "),
992 992 [
993 993 partial(jq_dialog_create(dialog_id(uid+foreign_table_name+"_dlg_ajax"), ajax(controller_action("hk_c", "ajax_edit_table&dialog_id="+uid+foreign_table_name+"_dlg_ajax&sub_dialog=true&table_name="+foreign_table_name)))),
994 994 one_line_fields([
... ...