summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-22 13:57:46 +0200
committerAlon Levy <alon@pobox.com>2014-12-22 13:57:46 +0200
commitbefe1d3ad5cceceb2251411840a7c864bef1cb0d (patch)
tree05fedf7210da6bff6d24cc347776ada167fe682d /src/client/model/graph.js
parent3f06e9626a01c80e49bcb5898a7a8cd43c2991ff (diff)
client: add warning reminding of _editProperty last user (robot)
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index 411c1ba2..fe4dd02c 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -471,6 +471,10 @@ function Graph() {
if ((n === undefined)) {
return false;
}
+ // cannot assert state is temp since robot code still uses it
+ if (state != 'temp') {
+ console.log('warning: I hope robot is doing this not-through-backend property change');
+ }
n[prop] = value;
return true;
}