From deed3a7eb8c03573bcc5bd8efc6d04c2f76533d0 Mon Sep 17 00:00:00 2001 From: Josh Wolfe Date: Sat, 12 Apr 2014 23:01:35 -0700 Subject: [PATCH] obstruct hotkeys in the edit tags dialog --- src/client/app.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/client/app.js b/src/client/app.js index abdc97a..68f5ae5 100644 --- a/src/client/app.js +++ b/src/client/app.js @@ -1562,6 +1562,9 @@ function setUpGenericUi(){ handler.handler(event); return false; }); + $editTagsDialog.find("input").on("keydown", function(event) { + event.stopPropagation(); + }); } function setUpPlaylistUi(){ @@ -1691,14 +1694,14 @@ function onDownloadContextMenu() { } function onDeleteContextMenu() { if (!permissions.admin) return false; - handleDeletePressed(true); removeContextMenu(); + handleDeletePressed(true); return false; } function onEditTagsContextMenu() { if (!permissions.admin) return false; - showEditTags(selection.toTrackKeys()); removeContextMenu(); + showEditTags(selection.toTrackKeys()); return false; } function showEditTags(trackKeys) {