this.layout.setActiveItem is not a function error
I know this looks dumb, but I am a bit lost! I have designed an interface with ExtDesigner. When I preview it there is no error. When I export it and double-click the index file, it does not show me anything and an error is generated in FireBug such as: this.layout.setActiveItem is not a function.
It points to ext-all-debug.js at line 18812 which seems to point to adding an item for a card layout.
I am not using a card layout anywhere in my design.
Can someone point me to the right fix? I have attached the project file.
Thank you in advance...
Neat layout. It looks like you previously had a layout that required activeItem in one of your containers. This is still set and hasn't been cleaned up.
activeItem is a valid configuration for accordion and card layout. Take a look at the .xds file, it has been set on a layout that has 'border' set.
hmmm Okay I found the problem. Just for others: When you export, you must run the exported project through a web server (I use XAMPP)...! Otherwise it will not work if you just double-click the file from the filesystem.
Why is that?