diff app/view/grid/Messung.js @ 955:b401846e7817

using callback differently for statuswerte
author Dustin Demuth <dustin@intevation.de>
date Mon, 09 Nov 2015 12:53:36 +0100
parents c7bf0b459074
children 6a6f2c6fe8ee
line wrap: on
line diff
--- a/app/view/grid/Messung.js	Wed Nov 04 19:44:44 2015 +0100
+++ b/app/view/grid/Messung.js	Mon Nov 09 12:53:36 2015 +0100
@@ -223,11 +223,7 @@
                 scope: this,
                 callback: function(records, operation, success) {
                     if (success) {
-                        try {
-                            val = sta.getById(value).get('wert');
-                        }
-                        catch (e) {
-                        }
+                        val = sta.getById(value).get('wert');
                     }
                     Ext.fly(opts.divId).update(val);
                 }

http://lada.wald.intevation.org