Commit 0f4cd29cca29ae3fb351149aa203297aac61e089
Merge branch '1.19' of ssh://gitlab.anubis-lang.com:33000/totoro/hayamiki_lib into 1.19
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
view/view_table_renderer.anubis
| ... | ... | @@ -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([ | ... | ... |