diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-23 15:40:56 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-23 15:40:56 +0200 |
| commit | 09ddb3c994942e48f699e94d600e32faa419959b (patch) | |
| tree | a9e00222f1b8d214f0f9b15dd4cf39ecf5cc867d /src/client/model/util.js | |
| parent | 0b3a8290c64b05c797210b727927ece21105791f (diff) | |
client: adapt_format_write_link: remove __type & name properties, they don't cross the wire
Diffstat (limited to 'src/client/model/util.js')
| -rw-r--r-- | src/client/model/util.js | 2 |
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; } |
