diff --git a/web/jQuery/CXM_jquery_datatable_server_side.anubis b/web/jQuery/CXM_jquery_datatable_server_side.anubis index 6c9b014..e37d813 100644 --- a/web/jQuery/CXM_jquery_datatable_server_side.anubis +++ b/web/jQuery/CXM_jquery_datatable_server_side.anubis @@ -17,12 +17,12 @@ public define Maybe(JQuery_datatable_server_side_type) List(Web_arg) lwa )= - if get_String(lwa, "sEcho") is {failure then println("can't read sEcho");failure, success(secho) then - if get_Int(lwa, "iColumns") is {failure then println("can't read iColumns");failure, success(icolumns) then - if get_String(lwa, "sColumns") is {failure then println("can't read sColumns");failure, success(scolumns) then - if get_Int(lwa, "iDisplayStart") is {failure then println("can't read iDisplayStart");failure, success(idisplaystart) then - if get_Int(lwa, "iDisplayLength") is {failure then println("can't read iDisplayLength");failure, success(idisplaylength) then - if get_String(lwa, "sSearch") is {failure then println("can't read sSearch");failure, success(sSearch) then + if get_String(lwa, "sEcho") is {failure then println("can't read sEcho"); failure, success(secho) then + if get_Int(lwa, "iColumns") is {failure then println("can't read iColumns"); failure, success(icolumns) then + if get_String(lwa, "sColumns") is {failure then println("can't read sColumns"); failure, success(scolumns) then + if get_Int(lwa, "iDisplayStart") is {failure then println("can't read iDisplayStart"); failure, success(idisplaystart) then + if get_Int(lwa, "iDisplayLength") is {failure then println("can't read iDisplayLength"); failure, success(idisplaylength) then + if get_String(lwa, "sSearch") is {failure then println("can't read sSearch"); failure, success(sSearch) then // if get_String(lwa, "sSortDir") is {failure then failure, success(sSortDir) then success(dt_ss(secho, icolumns, scolumns, idisplaystart, idisplaylength, if sSearch = "" then failure else success(sSearch))) }}}}}}. diff --git a/web/widgets/button.anubis b/web/widgets/button.anubis index c87b1a9..4d80261 100644 --- a/web/widgets/button.anubis +++ b/web/widgets/button.anubis @@ -12,6 +12,7 @@ read calexium_lib/web/CXM_json.anubis read calexium_lib/web/js_tools.anubis transmit calexium_lib/web/widgets/icons_set.anubis read tools/basis.anubis +read tools/printable_tree.anubis @@ -148,6 +149,21 @@ public define String "" + "". + +public define String + img_button_confirm + ( + String img_path, + List(CoreAttrs) core_attrs, + String dlg_title_js_escaped, + String dlg_text_js_escaped, + String dlg_ok_js_escaped, + String dlg_cancel_js_escaped, + String dlg_ok_js_script + ) = + with uid = generate_random_string(10), + "". public define String img_button_confirm -- libgit2 0.21.4