[pve-devel] [PATCH manager 1/4] ResourceStore: fix typo s/Colum/Columns/

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 15 15:46:04 CET 2017


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/data/ResourceStore.js | 2 +-
 www/manager6/grid/PoolMembers.js   | 2 +-
 www/manager6/grid/ResourceGrid.js  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager6/data/ResourceStore.js b/www/manager6/data/ResourceStore.js
index 9147626..a648ebd 100644
--- a/www/manager6/data/ResourceStore.js
+++ b/www/manager6/data/ResourceStore.js
@@ -276,7 +276,7 @@ Ext.define('PVE.data.ResourceStore', {
 	Ext.apply(config, {
 	    storeid: 'PVEResources',
 	    model: 'PVEResources',
-	    defaultColums: function() {
+	    defaultColumns: function() {
 		var res = [];
 		Ext.Object.each(field_defaults, function(field, info) {
 		    var fi = Ext.apply({ dataIndex: field }, info);
diff --git a/www/manager6/grid/PoolMembers.js b/www/manager6/grid/PoolMembers.js
index 76261c8..ce97b59 100644
--- a/www/manager6/grid/PoolMembers.js
+++ b/www/manager6/grid/PoolMembers.js
@@ -162,7 +162,7 @@ Ext.define('PVE.grid.PoolMembers', {
 	    }
 	});
 
-	var coldef = PVE.data.ResourceStore.defaultColums();
+	var coldef = PVE.data.ResourceStore.defaultColumns();
 
 	var reload = function() {
 	    store.load();
diff --git a/www/manager6/grid/ResourceGrid.js b/www/manager6/grid/ResourceGrid.js
index c73651c..e821a85 100644
--- a/www/manager6/grid/ResourceGrid.js
+++ b/www/manager6/grid/ResourceGrid.js
@@ -13,7 +13,7 @@ Ext.define('PVE.grid.ResourceGrid', {
 	var rstore = PVE.data.ResourceStore;
 	var sp = Ext.state.Manager.getProvider();
 
-	var coldef = rstore.defaultColums();
+	var coldef = rstore.defaultColumns();
 
 	var store = Ext.create('Ext.data.Store', {
 	    model: 'PVEResources',
-- 
2.1.4





More information about the pve-devel mailing list