too much recursion when setting HTML in fullPage mode using onGenerate/onGenerateOnce
|Reported by:||guest||Owned by:||gogo|
I'm hooking into the onGenerate event to set the editor content.
I'm trying to set the editors content as soon as it's loaded using:
xinha_config.Events.onGenerateOnce = function ()
it "works" but it freezes the browser and causes this error:
Error: too much recursion
Source File: XinhaCore?.js
i also tried using onGenerate with the same error.
I managed to work-round this issue using setTimeout.
Change History (4)
comment:3 Changed 8 years ago by ray
- Summary changed from too muc recursion using onGenerate onGenerateOnce to too much recursion when setting HTML in fullPage mode using onGenerate/onGenerateOnce