[pve-devel] r6303 - in pve-manager/pve2: . www/manager

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jul 14 14:12:01 CEST 2011


Author: dietmar
Date: 2011-07-14 14:12:00 +0200 (Thu, 14 Jul 2011)
New Revision: 6303

Modified:
   pve-manager/pve2/ChangeLog
   pve-manager/pve2/www/manager/VNCConsole.js
Log:
use decoded 'result' property


Modified: pve-manager/pve2/ChangeLog
===================================================================
--- pve-manager/pve2/ChangeLog	2011-07-14 12:08:50 UTC (rev 6302)
+++ pve-manager/pve2/ChangeLog	2011-07-14 12:12:00 UTC (rev 6303)
@@ -1,5 +1,7 @@
 2011-07-14  Proxmox Support Team  <support at proxmox.com>
 
+	* www/manager/VNCConsole.js: use decoded 'result' property 
+
 	* www/manager/qemu/NotesEdit.js: Notes editor
 
 	* www/manager/qemu/NotesView.js: Notes viewer

Modified: pve-manager/pve2/www/manager/VNCConsole.js
===================================================================
--- pve-manager/pve2/www/manager/VNCConsole.js	2011-07-14 12:08:50 UTC (rev 6302)
+++ pve-manager/pve2/www/manager/VNCConsole.js	2011-07-14 12:12:00 UTC (rev 6303)
@@ -147,8 +147,7 @@
 			box.update("Error " + response.htmlStatus);
 		    },
 		    success: function(response, opts) {
-			var obj = Ext.decode(response.responseText);
-			start_vnc_viewer(obj.data);
+			start_vnc_viewer(response.result.data);
 		    }
 		});
 	    }




More information about the pve-devel mailing list