list must exist

This commit is contained in:
j 2017-01-20 15:50:14 +01:00
parent bfcf25e240
commit f1f541fc0b

View file

@ -1116,7 +1116,7 @@ pandora.ui.mainMenu = function() {
) && (
pandora.site.capabilities.canRemoveDocuments[pandora.user.level] ||
ui.collectionSelection.every(function(item) {
return pandora.$ui.list.value(item, 'editable');
return pandora.$ui.list && pandora.$ui.list.value(item, 'editable');
})
),
canSelect = isListView,