rename alias of some form fields, and remove brackets

to be conform with the rest of the code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-09-12 12:02:34 +02:00 committed by Dietmar Maurer
parent ee9d0f6a44
commit 4cb75dd989
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Ext.define('PVE.form.DiskFormatSelector', { Ext.define('PVE.form.DiskFormatSelector', {
extend: 'PVE.form.KVComboBox', extend: 'PVE.form.KVComboBox',
alias: ['widget.PVE.form.DiskFormatSelector'], alias: 'widget.pveDiskFormatSelector',
comboItems: [ comboItems: [
['raw', gettext('Raw disk image') + ' (raw)'], ['raw', gettext('Raw disk image') + ' (raw)'],
['qcow2', gettext('QEMU image format') + ' (qcow2)'], ['qcow2', gettext('QEMU image format') + ' (qcow2)'],

View File

@ -1,6 +1,6 @@
Ext.define('PVE.form.FileSelector', { Ext.define('PVE.form.FileSelector', {
extend: 'PVE.form.ComboGrid', extend: 'PVE.form.ComboGrid',
alias: ['widget.pveFileSelector'], alias: 'widget.pveFileSelector',
setStorage: function(storage, nodename) { setStorage: function(storage, nodename) {
var me = this; var me = this;

View File

@ -1,6 +1,6 @@
Ext.define('PVE.form.StorageSelector', { Ext.define('PVE.form.StorageSelector', {
extend: 'PVE.form.ComboGrid', extend: 'PVE.form.ComboGrid',
alias: ['widget.PVE.form.StorageSelector'], alias: 'widget.pveStorageSelector',
allowBlank: false, allowBlank: false,
valueField: 'storage', valueField: 'storage',