summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-23 15:40:56 +0200
committerAlon Levy <alon@pobox.com>2014-12-23 15:40:56 +0200
commit09ddb3c994942e48f699e94d600e32faa419959b (patch)
treea9e00222f1b8d214f0f9b15dd4cf39ecf5cc867d /src
parent0b3a8290c64b05c797210b727927ece21105791f (diff)
client: adapt_format_write_link: remove __type & name properties, they don't cross the wire
Diffstat (limited to 'src')
-rw-r--r--src/client/model/util.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/model/util.js b/src/client/model/util.js
index d938fbc9..85c324ee 100644
--- a/src/client/model/util.js
+++ b/src/client/model/util.js
@@ -91,6 +91,8 @@ define([ 'jquery', 'model/diff' ], function($, model_diff) {
delete ret.state;
delete ret.status;
delete ret.target;
+ delete ret.__type;
+ delete ret.name;
return ret;
}