wrap canShare so we can also limit it to views that work
This commit is contained in:
parent
f2ad63143a
commit
a8d906743a
4 changed files with 15 additions and 7 deletions
|
|
@ -330,6 +330,12 @@ pandora.beforeUnloadWindow = function() {
|
|||
pandora.isUnloading = true;
|
||||
};
|
||||
|
||||
|
||||
pandora.canShareView = function() {
|
||||
return pandora.hasCapability('canShare')
|
||||
};
|
||||
|
||||
|
||||
pandora.changeFolderItemStatus = function(id, status, callback) {
|
||||
var ui = pandora.user.ui,
|
||||
folderItems = pandora.getFolderItems(ui.section),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue