Categories | Question details Back To List | ||||||||||||||
EDITOR 2.5 Hi guys, I am currently migrating my app to use the latest 2.5 suite......one issue that has arisen is the dhtmlx editor......has the method 'setContentHTML' been omitted? Ritchie. Answer posted by Alex (support) on Nov 05, 2009 05:54 Hello, yes, there method has been placed in dhtmlxeditor_ext.js by mistake. The latest dhtmlxeditor.js and dhtmlxeditor_ext.js are attached. Please, try to use them instead of originals. Attachments (2)
Answer posted on Nov 05, 2009 06:15 many thanks for the reply.......that has sorted my problem another issue that has arisen is the event handler for the accordian. I attach an event 'onActive' which used to get called on mouse clicking the accordian item and/or calling dhxAccord.openItem("a"); but it appears that the event does not execute when called through code....this used to work in 2.1 Any ideas? Rgds, Ritchie. Answer posted by Alex (support) on Nov 05, 2009 06:39 Yes, in the latest accordion version openItem doesn't call onActive. So, please call onActive handler manually: function doOnActive(id){ /*some code here*/ } dhxAccord.attachEvent("onActive",doOnActive); dhxAccord.openItem("a"); doOnActive("a"); or you can call the openItem method as follows do that automatically: dhxAccord.openItem("a","dhx_accord_outer_event");
Answer posted on Nov 05, 2009 06:46 many thanks |