changeset 11:06da8faa2806

Added some comment.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 10:49:10 +0200
parents 21d7b63f8783
children cdcaf38eab45
files app.js
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Tue Apr 30 10:48:44 2013 +0200
+++ b/app.js	Tue Apr 30 10:49:10 2013 +0200
@@ -6,8 +6,11 @@
     launch: function() {
         // Start the application.
         console.log('Launching the application');
-        Ext.create('Ext.container.Viewport', {
-            layout: 'fit',
+
+        // 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: [
                 {

http://lada.wald.intevation.org