changeset 668:3e91716f5862 openid

Create the viewport manually on application startup.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Mar 2015 14:29:55 +0100
parents fb89f61ab272
children 8756f7e423fb
files app.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'

http://lada.wald.intevation.org