[pve-devel] r5747 - pve-manager/pve2/www/manager

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Mar 23 09:50:32 CET 2011


Author: dietmar
Date: 2011-03-23 09:50:32 +0100 (Wed, 23 Mar 2011)
New Revision: 5747

Modified:
   pve-manager/pve2/www/manager/PVEConsole.js
Log:
fix urls


Modified: pve-manager/pve2/www/manager/PVEConsole.js
===================================================================
--- pve-manager/pve2/www/manager/PVEConsole.js	2011-03-23 07:57:17 UTC (rev 5746)
+++ pve-manager/pve2/www/manager/PVEConsole.js	2011-03-23 08:50:32 UTC (rev 5747)
@@ -251,8 +251,8 @@
 			console: 'kvm',
 			vmid: vmid,
 			node: node
-		    }, "?");
-                    var nw = window.open(url, '_blank', 
+		    });
+                    var nw = window.open("?" + url, '_blank', 
 					 "innerWidth=745,innerheight=427");
                     nw.focus();
                }
@@ -275,8 +275,8 @@
     var url = Ext.urlEncode({
 	console: 'shell',
 	node: nodename
-    }, "?");
-    var nw = window.open(url, '_blank', "innerWidth=745,innerheight=427");
+    });
+    var nw = window.open("?" + url, '_blank', "innerWidth=745,innerheight=427");
     nw.focus();
 };
 




More information about the pve-devel mailing list