[Lada-commits] [PATCH] Use the correct record to compare treemodified field
Wald Commits
scm-commit at wald.intevation.org
Thu May 26 14:56:45 CEST 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1464267401 -7200
# Node ID 255d550e74f48e781258d86071678e8760480f50
# Parent e5e4eb249d9c9228453fc0c0003caaa51dc0c7a7
Use the correct record to compare treemodified field.
diff -r e5e4eb249d9c -r 255d550e74f4 app/view/window/MessungEdit.js
--- 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' +
More information about the Lada-commits
mailing list