[pve-devel] [PATCH manager 03/10] ext6migrate: remove unnecessary array declaration

Dominik Csapak d.csapak at proxmox.com
Thu Mar 10 11:46:55 CET 2016


we do not need the array definition for the alias

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/storage/ContentView.js | 8 ++++----
 www/manager6/storage/StatusView.js  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/manager6/storage/ContentView.js b/www/manager6/storage/ContentView.js
index 265fab9..5c2b24e 100644
--- a/www/manager6/storage/ContentView.js
+++ b/www/manager6/storage/ContentView.js
@@ -1,7 +1,7 @@
 Ext.define('PVE.grid.TemplateSelector', {
     extend: 'Ext.grid.GridPanel',
 
-    alias: ['widget.pveTemplateSelector'],
+    alias: 'widget.pveTemplateSelector',
 
     initComponent : function() {
 	var me = this;
@@ -85,7 +85,7 @@ Ext.define('PVE.grid.TemplateSelector', {
 
 Ext.define('PVE.storage.TemplateDownload', {
     extend: 'Ext.window.Window',
-    alias: ['widget.pveTemplateDownload'],
+    alias: 'widget.pveTemplateDownload',
 
     modal: true,
 
@@ -144,7 +144,7 @@ Ext.define('PVE.storage.TemplateDownload', {
 
 Ext.define('PVE.storage.Upload', {
     extend: 'Ext.window.Window',
-    alias: ['widget.pveStorageUpload'],
+    alias: 'widget.pveStorageUpload',
 
     resizable: false,
 
@@ -318,7 +318,7 @@ Ext.define('PVE.storage.Upload', {
 Ext.define('PVE.storage.ContentView', {
     extend: 'Ext.grid.GridPanel',
 
-    alias: ['widget.pveStorageContentView'],
+    alias: 'widget.pveStorageContentView',
 
     initComponent : function() {
 	var me = this;
diff --git a/www/manager6/storage/StatusView.js b/www/manager6/storage/StatusView.js
index 3e03f04..5c5f069 100644
--- a/www/manager6/storage/StatusView.js
+++ b/www/manager6/storage/StatusView.js
@@ -1,6 +1,6 @@
 Ext.define('PVE.storage.StatusView', {
     extend: 'PVE.grid.ObjectGrid',
-    alias: ['widget.pveStorageStatusView'],
+    alias: 'widget.pveStorageStatusView',
 
     initComponent : function() {
 	var me = this;
-- 
2.1.4





More information about the pve-devel mailing list