obstruct hotkeys in the edit tags dialog

This commit is contained in:
Josh Wolfe 2014-04-12 23:01:35 -07:00
parent bf83c04902
commit deed3a7eb8

View file

@ -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) {