From e04089289be9a21aa0b6386a8809d5af55a31355 Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Wed, 14 May 2014 09:53:54 -0700 Subject: [PATCH] Fix for key capture Need to allow keys in password element --- dashboard-ui/scripts/mediacontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/mediacontroller.js b/dashboard-ui/scripts/mediacontroller.js index 7a499e62fc..6070285a00 100644 --- a/dashboard-ui/scripts/mediacontroller.js +++ b/dashboard-ui/scripts/mediacontroller.js @@ -566,7 +566,7 @@ // Get active elem to see what type it is var active = document.activeElement; var type = active.type || active.tagName.toLowerCase(); - return (type === "text" || type === "select" || type === "textarea"); + return (type === "text" || type === "select" || type === "textarea" || type == "password"); }; }