Index: openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin.js,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin.js 19 May 2009 17:16:13 -0000 1.1.2.2 +++ openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin.js 10 Jun 2009 16:32:27 -0000 1.1.2.3 @@ -18,8 +18,8 @@ var se = ed.selection; // No selection and not in link - if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) - return; + // if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) + // return; ed.windowManager.open({ file : '/acs-templating/scripts/xinha/attach-file', Index: openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin_src.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin_src.js,v diff -u -r1.3.2.1 -r1.3.2.2 --- openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin_src.js 19 May 2009 17:16:13 -0000 1.3.2.1 +++ openacs-4/packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/oacslink/editor_plugin_src.js 10 Jun 2009 16:32:27 -0000 1.3.2.2 @@ -18,8 +18,8 @@ var se = ed.selection; // No selection and not in link - if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) - return; + // if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) + // return; ed.windowManager.open({ file : '/acs-templating/scripts/xinha/attach-file',