[pve-devel] [RFC PATCH manager 1/5] rename alias of some form fields, and remove brackets
Dominik Csapak
d.csapak at proxmox.com
Mon Sep 12 12:02:34 CEST 2016
to be conform with the rest of the code
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/form/DiskFormatSelector.js | 2 +-
www/manager6/form/FileSelector.js | 2 +-
www/manager6/form/StorageSelector.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/manager6/form/DiskFormatSelector.js b/www/manager6/form/DiskFormatSelector.js
index c2a24e5..662f61c 100644
--- a/www/manager6/form/DiskFormatSelector.js
+++ b/www/manager6/form/DiskFormatSelector.js
@@ -1,6 +1,6 @@
Ext.define('PVE.form.DiskFormatSelector', {
extend: 'PVE.form.KVComboBox',
- alias: ['widget.PVE.form.DiskFormatSelector'],
+ alias: 'widget.pveDiskFormatSelector',
comboItems: [
['raw', gettext('Raw disk image') + ' (raw)'],
['qcow2', gettext('QEMU image format') + ' (qcow2)'],
diff --git a/www/manager6/form/FileSelector.js b/www/manager6/form/FileSelector.js
index 50f9442..a0fc4bb 100644
--- a/www/manager6/form/FileSelector.js
+++ b/www/manager6/form/FileSelector.js
@@ -1,6 +1,6 @@
Ext.define('PVE.form.FileSelector', {
extend: 'PVE.form.ComboGrid',
- alias: ['widget.pveFileSelector'],
+ alias: 'widget.pveFileSelector',
setStorage: function(storage, nodename) {
var me = this;
diff --git a/www/manager6/form/StorageSelector.js b/www/manager6/form/StorageSelector.js
index c50ae66..78cd8b3 100644
--- a/www/manager6/form/StorageSelector.js
+++ b/www/manager6/form/StorageSelector.js
@@ -1,6 +1,6 @@
Ext.define('PVE.form.StorageSelector', {
extend: 'PVE.form.ComboGrid',
- alias: ['widget.PVE.form.StorageSelector'],
+ alias: 'widget.pveStorageSelector',
allowBlank: false,
valueField: 'storage',
--
2.1.4
More information about the pve-devel
mailing list