[pve-devel] r5831 - pve-manager/pve2/www/new

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Apr 20 09:02:49 CEST 2011


Author: dietmar
Date: 2011-04-20 09:02:49 +0200 (Wed, 20 Apr 2011)
New Revision: 5831

Modified:
   pve-manager/pve2/www/new/StateProvider.js
Log:


Modified: pve-manager/pve2/www/new/StateProvider.js
===================================================================
--- pve-manager/pve2/www/new/StateProvider.js	2011-04-20 06:26:52 UTC (rev 5830)
+++ pve-manager/pve2/www/new/StateProvider.js	2011-04-20 07:02:49 UTC (rev 5831)
@@ -78,8 +78,12 @@
 	};
 
 	var start_token = Ext.History.getToken();
-	if (start_token)
+	if (start_token) {
 	    history_change_cb(start_token);
+	} else {
+	    var htext = Ext.urlEncode(self.UIState);
+	    Ext.History.add(htext);
+	}
 
 	Ext.History.on('change', history_change_cb);
     },




More information about the pve-devel mailing list