diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-13 14:41:00 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-13 14:41:00 +0200 |
| commit | 859d73a1abb27890d70f6400ea79604a020ddd14 (patch) | |
| tree | c86ba807f1b95b2817b8700583b0888fd299f24c /src/client/model/util.js | |
| parent | bb7b46c00587303e780a332175181bfc18f3663f (diff) | |
Revert "client: fix link name regression on clone (Fixes #264)"
This reverts commit f17c7d27b510c033aa2861598e49a90c56aa9a13.
Diffstat (limited to 'src/client/model/util.js')
| -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 fe27f5b3..21d7dbca 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']); + ret['name'] = __sanitize_label__read(ret['__type'][0]); delete ret.__type; return ret; |
