[pve-devel] r5785 - in pve-manager/pve2/www/new: . data

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Apr 5 13:07:59 CEST 2011


Author: dietmar
Date: 2011-04-05 13:07:59 +0200 (Tue, 05 Apr 2011)
New Revision: 5785

Modified:
   pve-manager/pve2/www/new/ResourceTree.js
   pve-manager/pve2/www/new/Workspace.js
   pve-manager/pve2/www/new/data/UpdateStore.js
   pve-manager/pve2/www/new/index.pl
Log:
JS fixes for IE


Modified: pve-manager/pve2/www/new/ResourceTree.js
===================================================================
--- pve-manager/pve2/www/new/ResourceTree.js	2011-04-05 10:37:33 UTC (rev 5784)
+++ pve-manager/pve2/www/new/ResourceTree.js	2011-04-05 11:07:59 UTC (rev 5785)
@@ -175,7 +175,7 @@
 	    root: {
 		expanded: true,
 		id: 'root',
-		text: "Datacenter",
+		text: "Datacenter"
 	    }
 	});
 
@@ -283,8 +283,7 @@
 		pdata.dataIndex = {};
 		updateTree();
 		rootnode.expand();
-	    },
-
+	    }
 	});
 
 	self.callParent();

Modified: pve-manager/pve2/www/new/Workspace.js
===================================================================
--- pve-manager/pve2/www/new/Workspace.js	2011-04-05 10:37:33 UTC (rev 5784)
+++ pve-manager/pve2/www/new/Workspace.js	2011-04-05 11:07:59 UTC (rev 5785)
@@ -97,12 +97,12 @@
 			{
 			    minWidth: 200,
 			    flex: 1,
-			    html: '<span class="x-panel-header-text">Proxmox Virtual Environment</span><br>Version ' + PVE.GUIVersion,
+			    html: '<span class="x-panel-header-text">Proxmox Virtual Environment</span><br>Version ' + PVE.GUIVersion
 			},
 			{
 			    pack: 'end',
 			    margins: '8 10 0 10',
-			    id: 'userinfo',
+			    id: 'userinfo'
 			},
 			{
 			    pack: 'end',

Modified: pve-manager/pve2/www/new/data/UpdateStore.js
===================================================================
--- pve-manager/pve2/www/new/data/UpdateStore.js	2011-04-05 10:37:33 UTC (rev 5784)
+++ pve-manager/pve2/www/new/data/UpdateStore.js	2011-04-05 11:07:59 UTC (rev 5785)
@@ -28,7 +28,7 @@
 	    },
 	    stopUpdate: function() {
 		load_task.cancel();
-	    },
+	    }
 	});
 
 	PVE.data.UpdateStore.superclass.constructor.call(self, config);

Modified: pve-manager/pve2/www/new/index.pl
===================================================================
--- pve-manager/pve2/www/new/index.pl	2011-04-05 10:37:33 UTC (rev 5784)
+++ pve-manager/pve2/www/new/index.pl	2011-04-05 11:07:59 UTC (rev 5785)
@@ -52,6 +52,7 @@
 }
 
 my $jssrc = <<_EOJS;
+if (!PVE) PVE = {};
 PVE.GUIVersion = '$version';
 PVE.UserName = '$username';
 PVE.CSRFPreventionToken = '$token';




More information about the pve-devel mailing list