Mercurial > lada > lada-client
comparison app/view/window/ProbeEdit.js @ 690:e88381fb3bdb
Use treeModiefied timestamp to determine if working with 'old' objects.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 16:46:48 +0100 |
parents | 6a6d1b02a1a3 |
children | 817524db4017 |
comparison
equal
deleted
inserted
replaced
689:c07419f07a0c | 690:e88381fb3bdb |
---|---|
112 failure: function(record, action) { | 112 failure: function(record, action) { |
113 // TODO | 113 // TODO |
114 }, | 114 }, |
115 success: function(record, response) { | 115 success: function(record, response) { |
116 this.down('probeform').setRecord(record); | 116 this.down('probeform').setRecord(record); |
117 this.record = record; | |
117 var json = Ext.decode(response.response.responseText); | 118 var json = Ext.decode(response.response.responseText); |
118 if (json) { | 119 if (json) { |
119 this.setMessages(json.errors, json.warnings); | 120 this.setMessages(json.errors, json.warnings); |
120 } | 121 } |
121 }, | 122 }, |