Page 1 of 1

JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 17 Jul 2013 00:28
by ozelaya
Hi,

I have update from IW14.0.12 and Last CG version for .12 to IW 14.0.13 and CG 1.6.0.2690(also Syncrhonized the 'wwwroot' folder) and now when working with grids I get the following Javascript Error:

Url : http://127.0.0.1:8888/$/
Line : 57
Message : El objeto no acepta la propiedad o el método 'setLoadCompleted'

Any hint what is causing the error?

Thanks in Advance,

Omar Zelaya

Re: JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 17 Jul 2013 00:34
by fduenas
Do you fully rebuild your application also?

Check if the Cgdevtools jquery demo has also the same problems, i not having that at least now, if you have a test case it should be useful.

Check also if refreshing the page CTRL+F5 could help.

Re: JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 17 Jul 2013 02:25
by Jorge Sousa
Hi Ozelay

You didn't updated wwwroot FOR SURE.


setLoadCompleted is a new function in files

jq\jqgrid\grid.cg.js and grid.cg.min.js

Alt + F5 it's only needed if you change, eventually, a javascript/css file that it's already cached in browser, for new versions it's not necessary.

Best Regards

cgdevtools

Re: JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 17 Jul 2013 03:03
by ozelaya
Hi,

I have used CGDevTools->Selected project...->Synchronize "wwwroot" folder, Menu option at the IDE, now that I have updated manually, its working with no problems.

Thanks in Advance,

Omar Zelaya

Re: JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 31 Jul 2013 21:58
by kmccoy
cgdevtools_support wrote:Hi Ozelay

You didn't updated wwwroot FOR SURE.

setLoadCompleted is a new function in files


I had this problem too, but the synchronize feature failed when I tried to update.

I think there is a small problem in the IDE "Synchronize "wwwroot" folder" feature. I prefer to leave my output directories blank and let the IDE place my project DCUs in the project directory instead of .\debug\win32. I am using XE + UD1.

I noticed the the synchronize feature failed to update my wwwroot directory. The message in the IDE said something like:

[IWCGJQ] Checking wwwroot...
[IWCGJQ] copy "C:\Program Files (x86)\CGDevTools\IWCGJQComps\Files\" to ""

Obviously, nothing was actually copied. It started to work correctly when I supplied an output path in my project settings.

Re: JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

PostPosted: 31 Jul 2013 22:16
by Jorge Sousa
Hi Kevin

The sync wwwroot action, updates the wwwroot above you project's Output Directory

Maybe there is a problem if you left Output Directory empty, use .\ instead please.

Best Regards

cgdevtools