Mercurial > lada > lada-client
diff app/view/window/MessungEdit.js @ 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 | 5ed859241fc9 |
children | 9934dc780701 |
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' +