add correlations dialog to menu

This commit is contained in:
rlx 2018-08-10 11:39:23 +01:00
parent 0591a9efc3
commit 343aa5f564

View file

@ -31,6 +31,7 @@ pandora.localInit = function() {
items: [ items: [
{id: 'rename', title: 'Rename Keyword...'}, {id: 'rename', title: 'Rename Keyword...'},
{id: 'manage', title: 'Manage Keywords...'}, {id: 'manage', title: 'Manage Keywords...'},
{id: 'correlations', title: 'Show Correlations...'},
{id: 'ontology', title: 'Open Ontology Graph'}, {id: 'ontology', title: 'Open Ontology Graph'},
], ],
style: 'rounded', style: 'rounded',
@ -43,6 +44,8 @@ pandora.localInit = function() {
pandora.ui.renameKeywordDialog().open() pandora.ui.renameKeywordDialog().open()
} else if (data.id == 'manage') { } else if (data.id == 'manage') {
pandora.ui.manageKeywordsDialog().open() pandora.ui.manageKeywordsDialog().open()
} else if (data.id == 'manage') {
pandora.ui.correlationsDialog().open()
} else if (data.id == 'ontology') { } else if (data.id == 'ontology') {
pandora.openLink('/static/ontology/'); pandora.openLink('/static/ontology/');
} }