# HG changeset patch # User Raimund Renkert # Date 1426771795 -3600 # Node ID 3e91716f58627f2cdd490e97404c864434349827 # Parent fb89f61ab2727fab03266b69a8cf58204715122b Create the viewport manually on application startup. diff -r fb89f61ab272 -r 3e91716f5862 app.js --- a/app.js Fri Mar 13 17:17:09 2015 +0100 +++ b/app.js Thu Mar 19 14:29:55 2015 +0100 @@ -54,7 +54,7 @@ // Setting this variable to true triggers loading the Viewport.js // file which sets ob the viewport. - autoCreateViewport: true, + //autoCreateViewport: true, // Start the application. launch: function() { @@ -104,6 +104,8 @@ /* Strip out the openid query params to look nicers. */ window.history.pushState(this.name, this.name, window.location.pathname); + Ext.create('Lada.view.Viewport'); + /* Todo maybe parse username and such from login service response */ Ext.create('Lada.store.Datenbasis', { storeId: 'datenbasis'