Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.248.2.39 -r1.248.2.40 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 2 Jan 2017 16:26:47 -0000 1.248.2.39 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 2 Feb 2017 13:27:00 -0000 1.248.2.40 @@ -2182,11 +2182,11 @@ CKEDITOR.plugins.addExternal( 'xowikiimage', '/resources/xowiki/ckeditor4/plugins/xowikiimage/', 'plugin.js' ); if (\$('#$id').parents('.repeatable').length != 0) { if (\$('#$id').is(':visible')) { - load_$id ($id); + load_$id ('$id'); } } else { //this is not inside a repeatable container, load normally - load_$id ($id); + load_$id ('$id'); } } ); }] @@ -2220,11 +2220,11 @@ CKEDITOR.plugins.addExternal( 'xowikiimage', '/resources/xowiki/ckeditor4/plugins/xowikiimage/', 'plugin.js' ); if (\$('#$id').parents('.repeatable').length != 0) { if (\$('#$id').is(':visible')) { - load_$id ($id); + load_$id ('$id'); } } else { //this is not inside a repeatable container, load normally - load_$id ($id); + load_$id ('$id'); } $ready_callback }); @@ -2244,7 +2244,7 @@ ::xo::Page requireJS [subst -nocommands { \$(document).ready(function() { CKEDITOR.plugins.addExternal( 'xowikiimage', '/resources/xowiki/ckeditor4/plugins/xowikiimage/', 'plugin.js' ); - load_$id ($id); + load_$id ('$id'); $ready_callback //CKEDITOR.instances['$id'].on('instanceReady',function(e) {$ready_callback}); });