fix document import
This commit is contained in:
parent
272810b9c2
commit
ce234bdea5
4 changed files with 19 additions and 10 deletions
|
|
@ -27,7 +27,7 @@ pandora.localInit = function() {
|
|||
$item = Ox.MenuButton({
|
||||
items: [
|
||||
].concat(pandora.user.level == 'admin' ? [
|
||||
] : [], [
|
||||
] : [], pandora.user.level == 'gurest' ? [] : [
|
||||
{id: 'import_documents', title: 'Import Documents...'},
|
||||
]),
|
||||
style: 'rounded',
|
||||
|
|
@ -37,7 +37,7 @@ pandora.localInit = function() {
|
|||
}).css(css).bindEvent({
|
||||
click: function(data) {
|
||||
if (data.id == 'import_documents') {
|
||||
pandora.ui.importDocumentsDialog().open()
|
||||
pandora.ui.importDocumentsDialog().open();
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue