Mercurial > lada > lada-client
view app.js @ 76:eb8a7d3cca89
Use translated message from server in error dialog
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 18:05:00 +0200 |
parents | 7661f09466cc |
children | 6c69bbb61c65 |
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. requires: ['Ext.i18n.Bundle'], bundle: { bundle: 'Lada', lang: 'de-DE', path: 'resources', noCache: true }, autoCreateViewport: true, launch: function() { // Start the application. console.log('Launching the application'); }, // Define the controllers of the application. They will be initialized // first before the application "launch" function is called. controllers: [ 'Proben', 'Kommentare', 'Sql' ] });