[opencms-dev] Links Gallery in 7.0.3 doesn't work when no text is selected in FCKEditor?

Paul Boone paulboone at mindbucket.com
Tue Nov 27 23:49:18 CET 2007


When I open a web page for editing in FCKEditor (and make sure no text is
selected), open the links manager, select and insert a link, the link is not
inserted. (If I select text first, it works).

Does anyone else have this problem?

The javascript error is "s has no properties" and occurs on line 21 of
gallery_buttonbar.jsp:

20 function escapeBrackets(s) {
21  var searchResultStart = s.search(/\[.+/);

I've done some minor debugging and s is undefined. From looking through the
source code, it appears that s = document.form.title.value which apparently
isn't set anywhere?

Thanks,

Paul Boone
-- 
View this message in context: http://www.nabble.com/Links-Gallery-in-7.0.3-doesn%27t-work-when-no-text-is-selected-in-FCKEditor--tf4885051.html#a13981931
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list