summaryrefslogtreecommitdiff
path: root/src/model/util.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-07 17:28:59 +0200
committerAlon Levy <alon@pobox.com>2014-12-16 10:59:14 +0200
commitc6fe4117c148d21ecfff17e423e28ee5c45f440d (patch)
treed2da2706659ade09c7699a47c40e2fbb9390fcd0 /src/model/util.js
parent0839ac3ac39c1c16f6eb07250a9724d97c981f5f (diff)
model/util: read nodes in 'perm' state
Diffstat (limited to 'src/model/util.js')
-rw-r--r--src/model/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/util.js b/src/model/util.js
index af7c77b3..63dd9ca7 100644
--- a/src/model/util.js
+++ b/src/model/util.js
@@ -4,7 +4,7 @@
* model utility functions:
* - convert from/to client/backend data representations
*/
-define(['jquery', 'model/diff'],
+define(['jquery', 'model/diff'],
function($, model_diff) {
/**
@@ -16,7 +16,7 @@ function($, model_diff) {
ret = $.extend({
'type' : n_raw['__label_set'][0].toLowerCase(), // discard all
// labels except
- 'state' : 'temp',
+ 'state' : 'perm',
}, n_raw);
delete ret.__label_set;