diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 17:55:03 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 18:14:47 +0200 |
| commit | 5ecd636b8104cbc7c20c68afedaaba68d0298d68 (patch) | |
| tree | 8e98744002e139f9cfc6a7255033f5a54c2f2a09 /src/client/textanalysis.js | |
| parent | c50c2a32f4f81f47f37397b6091d978587bd1bf7 (diff) | |
client: domain type_attributes are now a list for ordering
First type is default, and order is for shift-up/down selection, filter
menu and type drop down in properties menu (so, basically everywhere).
Diffstat (limited to 'src/client/textanalysis.js')
| -rw-r--r-- | src/client/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/textanalysis.js b/src/client/textanalysis.js index 0e64fed3..1a98f765 100644 --- a/src/client/textanalysis.js +++ b/src/client/textanalysis.js @@ -12,7 +12,7 @@ var separator_string = rz_config.separator_string; var typeindex = 0, nodetypes = model_types.nodetypes, nodetypes_count = nodetypes.length, - default_nodetype = util.first_contained(nodetypes, ['collaborator', 'person'], nodetypes[0]), + default_nodetype = nodetypes[0], node_name_to_type = {}; util.assert(nodetypes.indexOf(default_nodetype) !== -1); |
