mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix #1169 : Disable preview keyboard shortcut while download window open
This commit is contained in:
@@ -1228,6 +1228,7 @@ $(document).ready(function(){
|
||||
{
|
||||
if(p4.preview.open)
|
||||
{
|
||||
if (($('#DIALOG1').length === 0 && $('#DIALOG2').length === 0)) {
|
||||
switch(event.keyCode)
|
||||
{
|
||||
case 39:
|
||||
@@ -1249,6 +1250,7 @@ $(document).ready(function(){
|
||||
cancelKey = shortCut = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user