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