obstruct hotkeys in the edit tags dialog
This commit is contained in:
parent
bf83c04902
commit
deed3a7eb8
1 changed files with 5 additions and 2 deletions
|
|
@ -1562,6 +1562,9 @@ function setUpGenericUi(){
|
||||||
handler.handler(event);
|
handler.handler(event);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
$editTagsDialog.find("input").on("keydown", function(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function setUpPlaylistUi(){
|
function setUpPlaylistUi(){
|
||||||
|
|
@ -1691,14 +1694,14 @@ function onDownloadContextMenu() {
|
||||||
}
|
}
|
||||||
function onDeleteContextMenu() {
|
function onDeleteContextMenu() {
|
||||||
if (!permissions.admin) return false;
|
if (!permissions.admin) return false;
|
||||||
handleDeletePressed(true);
|
|
||||||
removeContextMenu();
|
removeContextMenu();
|
||||||
|
handleDeletePressed(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
function onEditTagsContextMenu() {
|
function onEditTagsContextMenu() {
|
||||||
if (!permissions.admin) return false;
|
if (!permissions.admin) return false;
|
||||||
showEditTags(selection.toTrackKeys());
|
|
||||||
removeContextMenu();
|
removeContextMenu();
|
||||||
|
showEditTags(selection.toTrackKeys());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
function showEditTags(trackKeys) {
|
function showEditTags(trackKeys) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue