changeset 1142:255d550e74f4

Use the correct record to compare treemodified field.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 26 May 2016 14:56:41 +0200
parents e5e4eb249d9c
children 5ceb0381ae73
files app/view/window/MessungEdit.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js	Thu May 26 14:06:30 2016 +0200
+++ b/app/view/window/MessungEdit.js	Thu May 26 14:56:41 2016 +0200
@@ -137,7 +137,7 @@
             },
             success: function(record, response) {
                 var me = this;
-                if (this.probe.get('treeModified') < record.get('parentModified')) {
+                if (this.parentWindow.record.get('treeModified') < record.get('parentModified')) {
                     Ext.Msg.show({
                         title: 'Probe nicht aktuell!',
                         msg: 'Die zugehörige Probe wurde verändert.\n' +

http://lada.wald.intevation.org