Commit c4e83b952dc316498f5e586cb822803b2c26c281
1 parent
0cc31704
[~] add some missing read due to cxm lib rearrangement
[+] add upload and download action
Showing
4 changed files
with
9 additions
and
2 deletions
Show diff stats
controller/hk_controller.anubis
| @@ -15,6 +15,7 @@ transmit hayamiki_lib/controller/hk_trigger.anubis | @@ -15,6 +15,7 @@ transmit hayamiki_lib/controller/hk_trigger.anubis | ||
| 15 | 15 | ||
| 16 | transmit calexium_lib/web/CXM_common.anubis | 16 | transmit calexium_lib/web/CXM_common.anubis |
| 17 | transmit calexium_lib/web/types/making_a_web_site.anubis | 17 | transmit calexium_lib/web/types/making_a_web_site.anubis |
| 18 | +transmit calexium_lib/web/types/web_session.anubis | ||
| 18 | transmit calexium_lib/database/db_types.anubis | 19 | transmit calexium_lib/database/db_types.anubis |
| 19 | 20 | ||
| 20 | //CRUD basis function + | 21 | //CRUD basis function + |
controller/hk_trigger.anubis
| @@ -6,7 +6,8 @@ | @@ -6,7 +6,8 @@ | ||
| 6 | * © David RENÉ | 6 | * © David RENÉ |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | -transmit calexium_lib/web/types/making_a_web_site.anubis | 9 | +transmit calexium_lib/web/types/web_session.anubis |
| 10 | +read tools/basis.anubis | ||
| 10 | 11 | ||
| 11 | public type HK_Trigger_Result: | 12 | public type HK_Trigger_Result: |
| 12 | ok, | 13 | ok, |
view/view_table_renderer.anubis
| @@ -1046,7 +1046,8 @@ public define List(CXM_Form_Field) | @@ -1046,7 +1046,8 @@ public define List(CXM_Form_Field) | ||
| 1046 | rich_editor then partial(partial_content( | 1046 | rich_editor then partial(partial_content( |
| 1047 | [js(js_file("ckeditor/ckeditor.js")), | 1047 | [js(js_file("ckeditor/ckeditor.js")), |
| 1048 | js_inline(jquery_ready( | 1048 | js_inline(jquery_ready( |
| 1049 | - " var cke_instance = CKEDITOR.replace( '"+c_name+"' );"+ | 1049 | + " console.log('loading CKeditor'); |
| 1050 | + var cke_instance = CKEDITOR.replace( '"+c_name+"' );"+ | ||
| 1050 | //" var cke_instance = CKEDITOR.replace( '"+id+"' ); | 1051 | //" var cke_instance = CKEDITOR.replace( '"+id+"' ); |
| 1051 | " cke_instance.on('blur', function() { cke_instance.updateElement(); }); | 1052 | " cke_instance.on('blur', function() { cke_instance.updateElement(); }); |
| 1052 | "))],empty)) | 1053 | "))],empty)) |
view/web_action.anubis
| @@ -33,3 +33,7 @@ public define WEB_Action_Name hkc_import_dropzone = controller_action("hk_c" | @@ -33,3 +33,7 @@ public define WEB_Action_Name hkc_import_dropzone = controller_action("hk_c" | ||
| 33 | public define WEB_Action_Name hkc_import_file = controller_action("hk_c", "hkc_import_file"). | 33 | public define WEB_Action_Name hkc_import_file = controller_action("hk_c", "hkc_import_file"). |
| 34 | public define WEB_Action_Name hkc_import_choose_col = controller_action("hk_c", "hkc_import_col"). | 34 | public define WEB_Action_Name hkc_import_choose_col = controller_action("hk_c", "hkc_import_col"). |
| 35 | public define WEB_Action_Name hkc_import_execute = controller_action("hk_c", "hkc_import_exec"). | 35 | public define WEB_Action_Name hkc_import_execute = controller_action("hk_c", "hkc_import_exec"). |
| 36 | + | ||
| 37 | +//file management | ||
| 38 | +public define WEB_Action_Name hkc_file_upload = controller_action("hk_c", "upload"). | ||
| 39 | +public define WEB_Action_Name hkc_file_download = controller_action("hk_c", "download"). |