diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-12-07 17:28:59 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-16 10:59:14 +0200 |
| commit | c6fe4117c148d21ecfff17e423e28ee5c45f440d (patch) | |
| tree | d2da2706659ade09c7699a47c40e2fbb9390fcd0 /src/model/util.js | |
| parent | 0839ac3ac39c1c16f6eb07250a9724d97c981f5f (diff) | |
model/util: read nodes in 'perm' state
Diffstat (limited to 'src/model/util.js')
| -rw-r--r-- | src/model/util.js | 4 |
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; |
