Fix #1169 : Disable preview keyboard shortcut while download window open

This commit is contained in:
Romain Neutron
2013-05-03 20:36:54 +02:00
parent 45d59942f1
commit a5b0eff376

View File

@@ -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
{