fix BUG-104, dont process keybindings when DBox with text inputs is shown
This commit is contained in:
1
BUGs
1
BUGs
@@ -1,6 +1,5 @@
|
||||
### Next: 107
|
||||
BUG-100: I managed to get 2 photos matching mich in the NOT_WORKING photo (probably dif refimgs but same p.tag?)
|
||||
BUG-104: in popup to search/add, etc. the underlying key bindings still fire (e.g. l -> log)
|
||||
BUG-105: show unmatched needs to handle overrides (ignore face, etc.)
|
||||
BUG-106: cant add trudy /pat? as refimgs via FaceDBox
|
||||
- seems the cropped trudy face is not sufficient to find a face, how odd...
|
||||
|
||||
@@ -280,6 +280,10 @@
|
||||
{% block script_content %}
|
||||
<script>
|
||||
$( document ).keydown(function(event) {
|
||||
// if dbox is visible, dont process this hot-key, we are inputting text
|
||||
// into inputs instead
|
||||
if( $("#dbox").is(':visible') )
|
||||
return
|
||||
switch (event.key)
|
||||
{
|
||||
case "Left": // IE/Edge specific value
|
||||
|
||||
Reference in New Issue
Block a user