large javascript file corrupted, v1.2

2008-03-05 Thread ros
Hi! Just started with CakePHP 1.2 and trying to make working the tree example: http://blogs.bigfish.tv/adam/examples/tut01-extjs-cakephp/employees/ Can not insert link to javascript file in to the default.ctp head section //ExtJS library echo

Re: large javascript file corrupted, v1.2

2008-03-05 Thread b logica
I'm not familiar with ext.js so I can't really say what's going on for sure, but is that error being thrown from ext_custom.js, itself, or another file? I think your first link should be: echo $javascript-link('ext-2.0.1/ext-custom.js'); Note there's no leading slash. On Wed, Mar 5, 2008 at

Re: large javascript file corrupted, v1.2

2008-03-05 Thread Adam Royle
Hi ros, Looks like your javascript file (bad.txt) was corrupted somehow... looking at the source on line 32 you can see it starts to define Ext={version:2.0.1}; again. Just replace the current javascript file you've got with the working version. I'd be interested to find out how this occurred.