• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
TinyMCE and ajax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: TinyMCE and ajax
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: Long Fetch times
  • Next by Date: Re: TinyMCE and ajax
  • Previous by thread: Re: [OT]FrontBase from 4. to 5.1. 2
  • Next by thread: Re: TinyMCE and ajax
  • Index(es):
    • Date
    • Thread