forked from 0x2620/pandora
list must exist
This commit is contained in:
parent
bfcf25e240
commit
f1f541fc0b
1 changed files with 1 additions and 1 deletions
|
@ -1116,7 +1116,7 @@ pandora.ui.mainMenu = function() {
|
||||||
) && (
|
) && (
|
||||||
pandora.site.capabilities.canRemoveDocuments[pandora.user.level] ||
|
pandora.site.capabilities.canRemoveDocuments[pandora.user.level] ||
|
||||||
ui.collectionSelection.every(function(item) {
|
ui.collectionSelection.every(function(item) {
|
||||||
return pandora.$ui.list.value(item, 'editable');
|
return pandora.$ui.list && pandora.$ui.list.value(item, 'editable');
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
canSelect = isListView,
|
canSelect = isListView,
|
||||||
|
|
Loading…
Reference in a new issue