use pandora.hasCapability
This commit is contained in:
parent
4a69de4a05
commit
db2d37e2bb
32 changed files with 49 additions and 53 deletions
|
|
@ -7,7 +7,7 @@ pandora.ui.folderList = function(id, section) {
|
|||
i = Ox.getIndexById(pandora.site.sectionFolders[section], id),
|
||||
folderItems = pandora.getFolderItems(section),
|
||||
folderItem = folderItems.slice(0, -1),
|
||||
canEditFeatured = pandora.site.capabilities['canEditFeatured' + folderItems][pandora.user.level],
|
||||
canEditFeatured = pandora.hasCapability('canEditFeatured' + folderItems),
|
||||
$placeholder,
|
||||
that;
|
||||
var columns, items;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue