TinyMCE and ajax
TinyMCE and ajax
- Subject: TinyMCE and ajax
- From: Frank Stock <email@hidden>
- Date: Sun, 14 Mar 2010 15:44:08 +0100
Hi All,
I use tinyMCE in my page, but if I perform an Ajaxupdate, the tinyMCE has disappeared. I have to a new tinyMCE.init to solve that, but I also have to add a timeout to make is appear again:
<wo:AjaxSubmitButton action = "$doAction" updateContainerID = "$updaterID" button = "$false" onSuccess ="function(e) {doOneUpdate() ;doTwoUpdate();}" onComplete = "function(e) { setTimeout(\"setupEditor('infovak')\",500);}">
the 'setupEditor' is doing tinyMCE.init({....}), but why is it only working with a timeout? How can I solve this?
Thanks in advance, Frank Stock Belgium
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden