Mercurial > lada > lada-client
view app.js @ 15:fd692dac69a2
Remove title attribute to not show Header on the probenlist
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 30 Apr 2013 15:31:33 +0200 |
parents | 06da8faa2806 |
children | 3eaeeec2bb28 |
line wrap: on
line source
Ext.application({ name: 'Lada', // Setting this variable to true should trigger loading the Viewport.js // file which sets ob the viewport. But this does not happen. autoCreateViewprt: false, launch: function() { // Start the application. console.log('Launching the application'); // This code works here, but this should usually be done in the // Viewport.js class. Ext.create('Ext.panel.Panel', { renderTo: Ext.getBody(), title: 'Probenauswahlmaske', items: [ { xtype: 'probenlist' } ] }); }, // Define the controllers of the application. They will be initialized // first before the application "launch" function is called. controllers: [ 'Proben', 'Sql' ] });