comparison app.js @ 10:21d7b63f8783

Do not autocreate a viewport as automatic loading of the Viewport.js fiel seems not to work anyway.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 10:48:44 +0200
parents 12a65c2c5dbf
children 06da8faa2806
comparison
equal deleted inserted replaced
9:12a65c2c5dbf 10:21d7b63f8783
1 Ext.application({ 1 Ext.application({
2 name: 'Lada', 2 name: 'Lada',
3 autoCreateViewprt: true, 3 // Setting this variable to true should trigger loading the Viewport.js
4 // file which sets ob the viewport. But this does not happen.
5 autoCreateViewprt: false,
4 launch: function() { 6 launch: function() {
5 // Start the application. 7 // Start the application.
6 console.log('Launching the application'); 8 console.log('Launching the application');
7 Ext.create('Ext.container.Viewport', { 9 Ext.create('Ext.container.Viewport', {
8 layout: 'fit', 10 layout: 'fit',

http://lada.wald.intevation.org