# HG changeset patch # User Torsten Irländer # Date 1386843522 -3600 # Node ID 2b886fc3828258a58c903b8118511503f827a6ef # Parent b5b129742abf1a0dbed887e65ac1ad9b7797d770 Formatting diff -r b5b129742abf -r 2b886fc38282 app/controller/Messwert.js --- 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();