Index: openacs-4/packages/richtext-ckeditor4/tcl/ckfinder-init.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-ckeditor4/tcl/ckfinder-init.tcl,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/richtext-ckeditor4/tcl/ckfinder-init.tcl 3 Sep 2024 15:37:40 -0000 1.6
+++ openacs-4/packages/richtext-ckeditor4/tcl/ckfinder-init.tcl 11 Apr 2025 12:13:17 -0000 1.7
@@ -151,11 +151,17 @@
-base $::richtext::ckeditor4::ckfinder_url/view {
{image_id "[dict get $d file_id]"}
}]
- set reply [subst {
-
- }]
+ #set reply [subst {
+ #
+ #}]
+
+ set reply [subst {{
+ "uploaded": [dict get $d success],
+ "fileName": "[dict get $d name]",
+ "url": "$view_url"
+ }}]
} else {
#
# ckfinder::file_attach returned an error