Merge pull request #6184 from thornbill/playlist-editor
Add playlist editing
This commit is contained in:
@@ -582,11 +582,13 @@ function reloadFromItem(instance, page, params, item, user) {
|
||||
page.querySelector('.btnSplitVersions').classList.add('hide');
|
||||
}
|
||||
|
||||
if (itemContextMenu.getCommands(getContextMenuOptions(item, user)).length) {
|
||||
hideAll(page, 'btnMoreCommands', true);
|
||||
} else {
|
||||
hideAll(page, 'btnMoreCommands');
|
||||
}
|
||||
itemContextMenu.getCommands(getContextMenuOptions(item, user)).then(commands => {
|
||||
if (commands.length) {
|
||||
hideAll(page, 'btnMoreCommands', true);
|
||||
} else {
|
||||
hideAll(page, 'btnMoreCommands');
|
||||
}
|
||||
});
|
||||
|
||||
const itemBirthday = page.querySelector('#itemBirthday');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user