changeset 1280:3b4dcc83a21b

fix sencha compile warnings
author Michael Stanko <mstanko@bfs.de>
date Wed, 18 Jan 2017 14:49:05 +0100
parents 291df0037835
children 20a2466820ce
files app/controller/form/Messprogramm.js app/controller/grid/Status.js app/model/Messwert.js app/model/Probe.js app/model/Probenzusatz.js app/store/DatensatzErzeuger.js app/view/FilterPanel.js app/view/grid/Messwert.js app/view/grid/Probenzusatzwert.js app/view/grid/Status.js app/view/window/FileUpload.js app/view/window/GenProbenFromMessprogramm.js
diffstat 12 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
--- 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'
--- 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'
     }, {
--- 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'
     }, {
--- 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'
 });
--- 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: [{
--- 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 === '') {
--- 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 === '') {
--- 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
             }
         });
     },
--- 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'
         });
--- 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
                 });
             }
         }];

http://lada.wald.intevation.org