diff options
| author | Alon Levy <alon@pobox.com> | 2015-05-04 12:38:55 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-05-04 12:42:19 +0300 |
| commit | 165381b79c54b1626db082ae45311ac3ceb0ffc9 (patch) | |
| tree | 6ec2cfc612b6ce1bda4998b8b71b2ad1df9d1814 /src/client/view | |
| parent | a09762e85358ae57f62d2387a05572c558f7326f (diff) | |
client: show node titles, not internal node types. fix #537
Diffstat (limited to 'src/client/view')
| -rw-r--r-- | src/client/view/item_info.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/view/item_info.js b/src/client/view/item_info.js index 1dc1062d..7e71e95b 100644 --- a/src/client/view/item_info.js +++ b/src/client/view/item_info.js @@ -306,7 +306,8 @@ function first_time_init() { var root = info_container.find('#edittype'); model_types.nodetypes.forEach(function (nodetype) { - root.append($('<option value="' + nodetype + '">' + util.capitalize(nodetype) + '</option>')); + root.append($('<option value="' + nodetype + '">' + + util.capitalize(model_types.node_titles[nodetype]) + '</option>')); }); } |
