[opencms-dev] Problems with OAMP Comment Module on OpenCms 7.5.0

pjamiracle pja at miracleas.dk
Wed Oct 13 09:59:22 CEST 2010


It is true that the error is in thickbox.js, I have located the error to line
229 of thickbox.js:

$("#TB_window").append("<div id='TB_title'><div
id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'> # " +
tb_msg.close + " </div></div><div id='TB_ajaxContent'
style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");

The issue is that tb_msg might not have been set, which throws an exception.
In stead I've changed it to the following and it worked after that.

$("#TB_window").append("<div id='TB_title'><div
id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'> #
close </div></div><div id='TB_ajaxContent'
style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");

-- 
View this message in context: http://old.nabble.com/Problems-with-OAMP-Comment-Module-on-OpenCms-7.5.0-tp24261230p29950407.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list