From a5b0eff376bb9f15164e885b5d7783c1b4f19318 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 3 May 2013 20:36:54 +0200 Subject: [PATCH] Fix #1169 : Disable preview keyboard shortcut while download window open --- www/prod/page0.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/prod/page0.js b/www/prod/page0.js index 49b94a62d5..4cfe23238b 100644 --- a/www/prod/page0.js +++ b/www/prod/page0.js @@ -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 {