[Lada-commits] [PATCH] fix sencha compile warnings

Wald Commits scm-commit at wald.intevation.org
Wed Jan 18 14:49:11 CET 2017


# HG changeset patch
# User Michael Stanko <mstanko at bfs.de>
# Date 1484747345 -3600
# Node ID 3b4dcc83a21b5e7aea8bac07d339ede26ece114a
# Parent  291df00378354af52f1fe786392edc5fee4a1415
fix sencha compile warnings

diff -r 291df0037835 -r 3b4dcc83a21b app/controller/form/Messprogramm.js
--- a/app/controller/form/Messprogramm.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/controller/form/Messprogramm.js	Wed Jan 18 14:49:05 2017 +0100
@@ -43,10 +43,10 @@
                 change: this.checkPeriod
             },
             'messprogrammform [name="teilintervallVon"]': {
-                change: this.synchronizeSlider,
+                change: this.synchronizeSlider
             },
             'messprogrammform [name="teilintervallBis"]': {
-                change: this.synchronizeSlider,
+                change: this.synchronizeSlider
             },
             'messprogrammform probenintervall combobox': {
                 select: this.updateIntervalls
diff -r 291df0037835 -r 3b4dcc83a21b app/controller/grid/Status.js
--- a/app/controller/grid/Status.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/controller/grid/Status.js	Wed Jan 18 14:49:05 2017 +0100
@@ -20,7 +20,7 @@
         this.control({
             'statusgrid': {
                 edit: this.gridSave,
-                canceledit: this.cancelEdit,
+                canceledit: this.cancelEdit
             },
             'statusgrid button[action=add]': {
                 click: this.add
diff -r 291df0037835 -r 3b4dcc83a21b app/model/Messwert.js
--- a/app/model/Messwert.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/model/Messwert.js	Wed Jan 18 14:49:05 2017 +0100
@@ -34,8 +34,7 @@
                 return null;
             }
             return "<";
-        },
-//         defaultValue: null
+        }
     }, {
         name: 'messfehler',
         type: 'float'
diff -r 291df0037835 -r 3b4dcc83a21b app/model/Probe.js
--- a/app/model/Probe.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/model/Probe.js	Wed Jan 18 14:49:05 2017 +0100
@@ -39,7 +39,7 @@
     }, {
         name: 'datenbasisId'
     }, {
-        name: 'baId',
+        name: 'baId'
     }, {
         name: 'probenartId'
     }, {
diff -r 291df0037835 -r 3b4dcc83a21b app/model/Probenzusatz.js
--- a/app/model/Probenzusatz.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/model/Probenzusatz.js	Wed Jan 18 14:49:05 2017 +0100
@@ -32,7 +32,7 @@
     }, {
         name: 'beschreibung'
     }, {
-        name: 'messEinheitId',
+        name: 'messEinheitId'
     }, {
         name: 'zusatzwert'
     }, {
diff -r 291df0037835 -r 3b4dcc83a21b app/store/DatensatzErzeuger.js
--- a/app/store/DatensatzErzeuger.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/store/DatensatzErzeuger.js	Wed Jan 18 14:49:05 2017 +0100
@@ -11,5 +11,5 @@
  */
 Ext.define('Lada.store.DatensatzErzeuger', {
     extend: 'Ext.data.Store',
-    model: 'Lada.model.DatensatzErzeuger',
+    model: 'Lada.model.DatensatzErzeuger'
 });
diff -r 291df0037835 -r 3b4dcc83a21b app/view/FilterPanel.js
--- a/app/view/FilterPanel.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/FilterPanel.js	Wed Jan 18 14:49:05 2017 +0100
@@ -45,7 +45,7 @@
             }]
         }, {
             layout: {
-                type: 'hbox',
+                type: 'hbox'
             },
             border: false,
             items: [{
diff -r 291df0037835 -r 3b4dcc83a21b app/view/grid/Messwert.js
--- a/app/view/grid/Messwert.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/grid/Messwert.js	Wed Jan 18 14:49:05 2017 +0100
@@ -115,7 +115,7 @@
             width: 80,
             editor: {
                 xtype: 'expnumberfield',
-                allowBlank: false,
+                allowBlank: false
             },
             renderer: function(value) {
                 if (!value || value === '') {
@@ -172,7 +172,7 @@
             dataIndex: 'nwgZuMesswert',
             width: 80,
             editor: {
-                xtype: 'expnumberfield',
+                xtype: 'expnumberfield'
             },
             renderer: function(value) {
                 if (!value || value === '') {
diff -r 291df0037835 -r 3b4dcc83a21b app/view/grid/Probenzusatzwert.js
--- a/app/view/grid/Probenzusatzwert.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/grid/Probenzusatzwert.js	Wed Jan 18 14:49:05 2017 +0100
@@ -93,7 +93,7 @@
             dataIndex: 'messwertPzs',
             flex: 1,
             editor: {
-                xtype: 'expnumberfield',
+                xtype: 'expnumberfield'
             },
             renderer: function(value) {
                 if (!value || value === '') {
@@ -124,7 +124,7 @@
             dataIndex: 'nwgZuMesswert',
             flex: 1,
             editor: {
-                xtype: 'expnumberfield',
+                xtype: 'expnumberfield'
             },
             renderer: function(value) {
                 if (!value || value === '') {
diff -r 291df0037835 -r 3b4dcc83a21b app/view/grid/Status.js
--- a/app/view/grid/Status.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/grid/Status.js	Wed Jan 18 14:49:05 2017 +0100
@@ -187,7 +187,7 @@
 
         this.store.load({
             params: {
-                messungsId: this.recordId,
+                messungsId: this.recordId
             }
         });
     },
diff -r 291df0037835 -r 3b4dcc83a21b app/view/window/FileUpload.js
--- a/app/view/window/FileUpload.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/window/FileUpload.js	Wed Jan 18 14:49:05 2017 +0100
@@ -107,6 +107,7 @@
         var win = Ext.create('Lada.view.window.ImportResponse', {
             data: response.response.responseText,
             message: response.message,
+            modal: true,
             fileName: file.config.fileApiObject.name,
             title: 'Importergebnis'
         });
diff -r 291df0037835 -r 3b4dcc83a21b app/view/window/GenProbenFromMessprogramm.js
--- a/app/view/window/GenProbenFromMessprogramm.js	Wed Jan 18 11:41:50 2017 +0100
+++ b/app/view/window/GenProbenFromMessprogramm.js	Wed Jan 18 14:49:05 2017 +0100
@@ -71,7 +71,7 @@
                     timeout: 2 * 60 * 1000,
                     jsonData: jsondata,
                     success: me.onSuccess,
-                    failure: me.onFailure,
+                    failure: me.onFailure
                 });
             }
         }];


More information about the Lada-commits mailing list