[pve-devel] [PATCH pve-manager 2/4] remove redundant model definition

Emmanuel Kasper e.kasper at proxmox.com
Wed Feb 17 14:53:56 CET 2016


pve-services is already declared in ServiceView.js provoking
a namespace clash
---
 www/manager6/node/Subscription.js | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/www/manager6/node/Subscription.js b/www/manager6/node/Subscription.js
index 8101d1b..c4e9979 100644
--- a/www/manager6/node/Subscription.js
+++ b/www/manager6/node/Subscription.js
@@ -192,12 +192,4 @@ Ext.define('PVE.node.Subscription', {
 
 	me.callParent();
     }
-}, function() {
-
-    Ext.define('pve-services', {
-	extend: 'Ext.data.Model',
-	fields: [ 'service', 'name', 'desc', 'state' ],
-	idProperty: 'service'
-    });
-
 });
-- 
2.1.4





More information about the pve-devel mailing list