Page 1 of 1

JavaScript Error

PostPosted: 01 Aug 2013 20:49
by dslaporte
Hi,

I'm using CG 1.6.0.2769 and IntraWeb 12.2.12.1. After updated my suite I'm receiving the attached error. I already synchronized my wwwroot directory but it doesn't works. Any idea to solve this problem?

Thanks,

Daniel

Re: JavaScript Error

PostPosted: 02 Aug 2013 00:47
by Jorge Sousa
Hi Daniel

You probablly always had that error but silent.

1- Set ServerController.JavaScriptDebug = True

This will able to work with source javascript instead of minimized.

2- Set IWCGJQCommon.CGJSErrorHandler:= False in ServerController.OnCreate;

This will stop the javascript error dialog from appearing

3- Run the Application

4- Put the browser in Debug, (we like FireBug in FireFox), and see where the error comes from.

Best Regards

cgdevtools st

Re: JavaScript Error

PostPosted: 02 Aug 2013 14:34
by dslaporte
Hi,

It works perfectly. Thanks for the tips.

Daniel