diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-13 11:10:11 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-13 11:10:11 +0200 |
| commit | f17c7d27b510c033aa2861598e49a90c56aa9a13 (patch) | |
| tree | 925b505d19c074d2a8414c49c662c212dcb5a1a9 /src/client | |
| parent | 475467ff79818d3482ac7640198bff9571cb3797 (diff) | |
client: fix link name regression on clone (Fixes #264)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/model/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/model/util.js b/src/client/model/util.js index 21d7dbca..fe27f5b3 100644 --- a/src/client/model/util.js +++ b/src/client/model/util.js @@ -61,7 +61,7 @@ define([ 'jquery', 'model/diff' ], function($, model_diff) { 'state' : 'perm', }, l_raw); - ret['name'] = __sanitize_label__read(ret['__type'][0]); + ret['name'] = __sanitize_label__read(ret['__type']); delete ret.__type; return ret; |
