diff app/controller/Messwert.js @ 453:2b886fc38282

Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 12 Dec 2013 11:18:42 +0100
parents 6a7a9267e00f
children debfcc7713e3
line wrap: on
line diff
--- a/app/controller/Messwert.js	Thu Dec 12 10:45:29 2013 +0100
+++ b/app/controller/Messwert.js	Thu Dec 12 11:18:42 2013 +0100
@@ -51,7 +51,7 @@
     },
     editItem: function(grid, record) {
         console.log('Editing Messwert');
-        record.getAuthInfo(this.initEditWindow)
+        record.getAuthInfo(this.initEditWindow);
         console.log("Loaded Messwert with ID " + record.getId()); //outputs ID
     },
     initEditWindow: function(record, readonly, owner) {
@@ -84,7 +84,7 @@
     },
     createSuccess: function(form, record, operation) {
         // Reload store
-        var store = this.getMessungenStore();
+        var store = this.getMesswerteStore();
         store.reload();
         var win = form.up('window');
         win.close();
@@ -99,7 +99,7 @@
     },
     editSuccess: function(form, record, operation) {
         // Reload store
-        var store = this.getMessungenStore();
+        var store = this.getMesswerteStore();
         store.reload();
         var win = form.up('window');
         win.close();

http://lada.wald.intevation.org