Actually it works with any library that sets the 'X-Requested-With'
HTTP header.
I'm using it successfully with jQuery in a current project.
Cheers!
On May 3, 2:13 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> To the OP: just modify your index.php, removing the html comment.
>
> Robechar: the Requ
Grant:
Thank you for pointing out that isAjax works only with Prototype/
Scripaculous.
Thats a bummer!
BTW, does Configure::write work with cake 1.1.14?
Thanks,
Mandy.
On May 3, 4:13 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> To the OP: just modify your index.php, removing the html comment.
>
To the OP: just modify your index.php, removing the html comment.
Robechar: the RequestHandler->isAjax only detects Prototype/
Scriptaculous requests, not for any other libraries, and to change the
debug you should probably use
Configure::write('debug', 0);
--~--~-~--~~~
You can prevent this by adding this code to your app_controller.php
beforeFilter function:
if ($this->RequestHandler->isAjax()) {
$db =& ConnectionManager::getDataSource('default');
$db->fullDebug = false;
}
Make sure you have RequestHandler in your componen
On 5/2/07, Alex <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it possible to replan the concept of the debug-variable?
> I need to hide the performance time which is printed (index.php) as a
> html-comment at the end of each view. The ajax-inplaceeditor handles
> this comment as a value.
> what i need
Hi,
Is it possible to replan the concept of the debug-variable?
I need to hide the performance time which is printed (index.php) as a
html-comment at the end of each view. The ajax-inplaceeditor handles
this comment as a value.
what i need is to run in debug=1 mode and to hide the performance tim