[pve-devel] r5813 - in pve-manager/pve2/www/new: . grid

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Apr 18 11:51:38 CEST 2011


Author: dietmar
Date: 2011-04-18 11:51:38 +0200 (Mon, 18 Apr 2011)
New Revision: 5813

Modified:
   pve-manager/pve2/www/new/Workspace.js
   pve-manager/pve2/www/new/grid/ResourceGrid.js
   pve-manager/pve2/www/new/index.pl
Log:
update for extjs beta3


Modified: pve-manager/pve2/www/new/Workspace.js
===================================================================
--- pve-manager/pve2/www/new/Workspace.js	2011-04-18 08:50:53 UTC (rev 5812)
+++ pve-manager/pve2/www/new/Workspace.js	2011-04-18 09:51:38 UTC (rev 5813)
@@ -1,8 +1,10 @@
 Ext.define('PVE.Workspace', {
     extend: 'Ext.container.Viewport',
-    requires: ['PVE.window.LoginWindow', 
-	       'PVE.Utils', 
-	       'PVE.tree.ResourceTree'],
+    requires: [	       
+	'Ext.selection.*',
+	'PVE.window.LoginWindow', 
+	'PVE.Utils', 
+	'PVE.tree.ResourceTree'],
 
     // private
     defaultView: {
@@ -131,7 +133,7 @@
 		    region: 'west',
 		    margins: '0 0 0 5',
 		    split: true,
-		    selModel: new Ext.tree.SelectionModel({
+		    selModel: new Ext.selection.TreeModel({
 			listeners: {
 			    select: function(sm, n) {		    
 				var comp = { 

Modified: pve-manager/pve2/www/new/grid/ResourceGrid.js
===================================================================
--- pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-18 08:50:53 UTC (rev 5812)
+++ pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-18 09:51:38 UTC (rev 5813)
@@ -1,5 +1,5 @@
 // fixme: remove this fix
-// this hack is required for ExtJS beta2
+// this hack is required for ExtJS beta2/beta3
 Ext.override(Ext.grid.feature.Chunking, {
     attachEvents: function() {
         var grid = this.view.up('gridpanel'),

Modified: pve-manager/pve2/www/new/index.pl
===================================================================
--- pve-manager/pve2/www/new/index.pl	2011-04-18 08:50:53 UTC (rev 5812)
+++ pve-manager/pve2/www/new/index.pl	2011-04-18 09:51:38 UTC (rev 5813)
@@ -60,6 +60,7 @@
 Ext.require([
     '*', 
     'Ext.state.*', 
+    'Ext.tip.*', 
     'PVE.StateProvider', 
     'PVE.Workspace']);
 
@@ -67,7 +68,7 @@
 
 Ext.onReady(function() {
     Ext.History.init();
-    Ext.tip.QuickTips.init();
+    Ext.tip.QuickTipManager.init();
     Ext.state.Manager.setProvider(Ext.create('PVE.StateProvider'));
     Ext.create('PVE.Workspace');
 });
@@ -81,11 +82,11 @@
 
     <title id='title'>$title</title>
  
-    <link rel="stylesheet" type="text/css" href="/ext/ext-all-debug.css" />
-    <link rel="stylesheet" type="text/css" href="/css/ext-pve.css" />
+    <link rel="stylesheet" type="text/css" href="/pve2/ext4/resources/css/ext-all-debug.css" />
+    <link rel="stylesheet" type="text/css" href="/pve2/css/ext-pve.css" />
  
-    <script type="text/javascript" src="/ext/ext-all-debug.js"></script>
-    <script type="text/javascript" src="/ext/pvemanagerlib.js"></script>
+    <script type="text/javascript" src="/pve2/ext4/ext-all-debug.js"></script>
+    <script type="text/javascript" src="/pve2/ext4/pvemanagerlib.js"></script>
     
     <script type="text/javascript">$jssrc</script>
     




More information about the pve-devel mailing list