|
Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
Hi,
I use TinyMCE inside of an EODialog. In Chrome I have the following problem.
EODialog moves its content to an another position in DOM. When I initialze TinyMCE it is possible that the base textarea is moved during the tinyMCE initizialisation, so that the init will fail.
Does a javascript event exist, when all dialogs are completly initialized (and the content is completly moved to the final destination), so that I can initialze TinyMCE after that?
Kind regards. Philipp
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
There is no event that are directly called after the dialog is shown and positioned. However you can handle ClientSideOnInitDialog and use setTimeout function inside the dialog to delay such action. Make sure you turn off the dialog's expand effect when you do so since the amount of time the dialog uses to play expand effect can not be controlled precisely.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
The ClientSideOnInitDialog works but its called each time the dialog is opened. Is there an event if the control is initialized on the client?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
No. ClientSideOnInitDialog is the closest you can get.
Thanks!
|
|