From 4cbc91d24ecd2a8efaeab34978a4c5dea24d9f83 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 20 Oct 2014 13:11:38 +0200 Subject: [PATCH] Added the function "openURLTagWindow" --- pandora_console/include/javascript/pandora.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index cc59418494..298d2ecf51 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -907,4 +907,8 @@ function show_dialog_qrcode(dialog, text, where, width, height) { paint_qrcode(text, where, 256, 256) $(dialog).dialog( "open" ); +} + +function openURLTagWindow(url) { + window.open(url, '','width=300, height=300, toolbar=no, location=no, directories=no, status=no, menubar=no'); } \ No newline at end of file