From 4cd2e7750bb9db81c66e9309b94ea881da2ae8cf Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 9 Jun 2016 16:58:32 +0200 Subject: [PATCH] Fixed the error which prevented the opening of the QR dialog on the public console section --- pandora_console/include/javascript/pandora.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index fe78486a82..a914beddc9 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -990,9 +990,9 @@ function show_dialog_qrcode(dialog, text, where, width, height) { } } - paint_qrcode(text, where, 256, 256) + paint_qrcode(text, where, 256, 256); - $(dialog).dialog( "open" ); + $(dialog).dialog({ autoOpen: false, modal: true }).dialog('open'); } function openURLTagWindow(url) {