From c4e83b952dc316498f5e586cb822803b2c26c281 Mon Sep 17 00:00:00 2001 From: totoro Date: Thu, 31 Oct 2019 11:32:04 +0900 Subject: [PATCH] [~] add some missing read due to cxm lib rearrangement [+] add upload and download action --- controller/hk_controller.anubis | 1 + controller/hk_trigger.anubis | 3 ++- view/view_table_renderer.anubis | 3 ++- view/web_action.anubis | 4 ++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/controller/hk_controller.anubis b/controller/hk_controller.anubis index 8d274b9..b156e0b 100644 --- a/controller/hk_controller.anubis +++ b/controller/hk_controller.anubis @@ -15,6 +15,7 @@ transmit hayamiki_lib/controller/hk_trigger.anubis transmit calexium_lib/web/CXM_common.anubis transmit calexium_lib/web/types/making_a_web_site.anubis +transmit calexium_lib/web/types/web_session.anubis transmit calexium_lib/database/db_types.anubis //CRUD basis function + diff --git a/controller/hk_trigger.anubis b/controller/hk_trigger.anubis index b0b116b..9f82dd7 100644 --- a/controller/hk_trigger.anubis +++ b/controller/hk_trigger.anubis @@ -6,7 +6,8 @@ * © David RENÉ */ -transmit calexium_lib/web/types/making_a_web_site.anubis +transmit calexium_lib/web/types/web_session.anubis +read tools/basis.anubis public type HK_Trigger_Result: ok, diff --git a/view/view_table_renderer.anubis b/view/view_table_renderer.anubis index 54e2590..e844b74 100644 --- a/view/view_table_renderer.anubis +++ b/view/view_table_renderer.anubis @@ -1046,7 +1046,8 @@ public define List(CXM_Form_Field) rich_editor then partial(partial_content( [js(js_file("ckeditor/ckeditor.js")), js_inline(jquery_ready( - " var cke_instance = CKEDITOR.replace( '"+c_name+"' );"+ + " console.log('loading CKeditor'); + var cke_instance = CKEDITOR.replace( '"+c_name+"' );"+ //" var cke_instance = CKEDITOR.replace( '"+id+"' ); " cke_instance.on('blur', function() { cke_instance.updateElement(); }); "))],empty)) diff --git a/view/web_action.anubis b/view/web_action.anubis index e49f28b..deee195 100644 --- a/view/web_action.anubis +++ b/view/web_action.anubis @@ -33,3 +33,7 @@ public define WEB_Action_Name hkc_import_dropzone = controller_action("hk_c" public define WEB_Action_Name hkc_import_file = controller_action("hk_c", "hkc_import_file"). public define WEB_Action_Name hkc_import_choose_col = controller_action("hk_c", "hkc_import_col"). public define WEB_Action_Name hkc_import_execute = controller_action("hk_c", "hkc_import_exec"). + +//file management +public define WEB_Action_Name hkc_file_upload = controller_action("hk_c", "upload"). +public define WEB_Action_Name hkc_file_download = controller_action("hk_c", "download"). -- libgit2 0.21.4