Re: Pear ajax and tinymce

From: Date: Thu, 31 Aug 2006 21:27:12 +0000
Subject: Re: Pear ajax and tinymce
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25032@lists.php.net to get a copy of this message
Adi wrote:
I wrote a spell checker(which uses the pear ajax package) that runs in a web editor that is running tinymce. Pear ajax and tiny mce seem to conflict. Using httpwatch, I was able to determine that all of the HTML_AJAX_lite.js code gets pushed to the browser, however, the page just 'hangs', not stepping forward to the next line(s) of code in my js. IE Debugger doesnt report anything...I noticed that there is a nice eval() function executed at the end of HTML_AJAX_lite.js......could some variable names be conflicting with other global vars from tinymce??? If so...perhaps I should enter a bug report to prefix vars/function names in the pear ajax lib??? Has anyone been successful with using the two libs together??? Please advise...thanks... Adam. Everything is prefixed except for a couple external libraries were bundling.
That being cssQuery() (which is packed and is what your seeing the eval from) and Behavior It could possible be a problem with the onload handler from the behavior code conflicting with an onload handler from tinymce. if you can post a simple test case i'll debug it. -josh

« previous php.pear.general (#25032) next »