client: fix not stopping keyboard propagation for text boxes

This commit is contained in:
Andrew Kelley 2014-04-12 23:58:43 -07:00
parent 6dbfb820ea
commit 453143040d

View file

@ -1553,6 +1553,9 @@ function setUpGenericUi(){
selection.type = null;
refreshSelection();
});
$editTagsDialog.find("input").on("keydown", function(event) {
event.stopPropagation();
});
$document.on('keydown', function(event){
var handler = keyboard_handlers[event.which];
if (handler == null) return true;
@ -1562,9 +1565,6 @@ function setUpGenericUi(){
handler.handler(event);
return false;
});
$editTagsDialog.find("input").on("keydown", function(event) {
event.stopPropagation();
});
}
function setUpPlaylistUi(){