diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-30 08:51:10 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-30 08:51:10 +0200 |
commit | 5604742eb96f08da3403c4aad2436f91a7f7013c (patch) | |
tree | baabc594be7afaa5c9debd17a4dacdff1207bde9 | |
parent | ec79818e62f5b052334db07ad964c408fef1e1f0 (diff) | |
download | bugzilla-5604742eb96f08da3403c4aad2436f91a7f7013c.tar.gz bugzilla-5604742eb96f08da3403c4aad2436f91a7f7013c.tar.xz |
Bug 1189075 - keyboard shortcut for going into edit mode conflicts with Firefox's tab groups feature
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 462e7cff6..a31847d32 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -864,6 +864,8 @@ $(function() { switch(String.fromCharCode(event.which).toLowerCase()) { // ctrl+e or meta+e = enter edit mode case 'e': + if (event.shiftKey) + return; // don't conflict with text input shortcut if (document.activeElement.nodeNode == 'INPUT' || document.activeElement.nodeName == 'TEXTAREA') return; |