ui: window notes: refactor and code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e88d14d69c
commit
a88c03c820
@ -1,27 +1,22 @@
|
||||
Ext.define('PVE.window.NotesEdit', {
|
||||
extend: 'Proxmox.window.Edit',
|
||||
|
||||
initComponent : function() {
|
||||
var me = this;
|
||||
title: gettext('Notes'),
|
||||
|
||||
Ext.apply(me, {
|
||||
title: gettext('Notes'),
|
||||
width: 600,
|
||||
height: '400px',
|
||||
resizable: true,
|
||||
layout: 'fit',
|
||||
defaultButton: undefined,
|
||||
items: {
|
||||
xtype: 'textarea',
|
||||
name: 'description',
|
||||
height: '100%',
|
||||
value: '',
|
||||
hideLabel: true
|
||||
}
|
||||
});
|
||||
width: 600,
|
||||
height: '400px',
|
||||
resizable: true,
|
||||
layout: 'fit',
|
||||
|
||||
me.callParent();
|
||||
autoLoad: true,
|
||||
|
||||
me.load();
|
||||
}
|
||||
defaultButton: undefined,
|
||||
|
||||
items: {
|
||||
xtype: 'textarea',
|
||||
name: 'description',
|
||||
height: '100%',
|
||||
value: '',
|
||||
hideLabel: true,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user