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

Chauhan, Amit Amit_Chauhan at intuit.com
Wed Nov 28 00:43:26 CET 2007


I am facing the same problem too. And I'm using 7.0.2.

Thanks
Amit Chauhan

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Paul Boone
Sent: Tuesday, November 27, 2007 2:49 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Links Gallery in 7.0.3 doesn't work when no text
is selected in FCKEditor?


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.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list