From befe1d3ad5cceceb2251411840a7c864bef1cb0d Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 22 Dec 2014 13:57:46 +0200 Subject: client: add warning reminding of _editProperty last user (robot) --- src/client/model/graph.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client') 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; } -- cgit v1.3.1