add rename keword dialog; minor cosmetic updates
This commit is contained in:
parent
1bb74f4f63
commit
b57676650c
2 changed files with 191 additions and 6 deletions
|
|
@ -29,9 +29,9 @@ pandora.localInit = function() {
|
|||
},
|
||||
$item = Ox.MenuButton({
|
||||
items: [
|
||||
{'id': 'rename', title: 'Rename Keyword'},
|
||||
{'id': 'ontology_graph', title: 'Ontology Graph'},
|
||||
{'id': 'ontology', title: 'Ontology Overview'},
|
||||
{id: 'rename', title: 'Rename Keyword...'},
|
||||
{id: 'manage', title: 'Manage Keywords...'},
|
||||
{id: 'ontology', title: 'Open Ontology Graph'},
|
||||
],
|
||||
style: 'rounded',
|
||||
title: 'set',
|
||||
|
|
@ -41,10 +41,10 @@ pandora.localInit = function() {
|
|||
click: function(data) {
|
||||
if (data.id == 'rename') {
|
||||
pandora.ui.renameKeywordDialog().open()
|
||||
} else if (data.id == 'ontology_graph') {
|
||||
pandora.openLink('/static/ontology/');
|
||||
} else if (data.id == 'manage') {
|
||||
pandora.ui.manageKeywordsDialog().open()
|
||||
} else if (data.id == 'ontology') {
|
||||
pandora.openLink('/static/ontology/ontology.html');
|
||||
pandora.openLink('/static/ontology/');
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue