diff app/view/About.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents debfcc7713e3
children 7c0653e8d9f7
line wrap: on
line diff
--- a/app/view/About.js	Fri Oct 31 21:28:31 2014 +0100
+++ b/app/view/About.js	Fri Oct 31 23:23:32 2014 +0100
@@ -26,17 +26,16 @@
     initComponent: function() {
         var sver = "1.0";
         var cver = "1.0";
-        this.buttons = [
-            {
-                text: 'Abbrechen',
-                scope: this,
-                handler: this.close
-            }
+        this.buttons = [{
+            text: 'Abbrechen',
+            scope: this,
+            handler: this.close
+        }];
+        this.items = [{
+            html: "<h1>Lada</h1>Server version: " +
+                sver + "<br>Client version: " +cver }
         ];
-        this.items = [ 
-            { html: "<h1>Lada</h1>Server version: " + sver + "<br>Client version: " + cver }
-        ];
-        this.callParent();
+        this.callParent(arguments);
     }
 });
 

http://lada.wald.intevation.org