Thomas Lamprecht 0d173d3e55 use windowEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00

28 lines
443 B
JavaScript

Ext.define('PVE.window.NotesEdit', {
extend: 'Proxmox.window.Edit',
initComponent : function() {
var me = this;
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
}
});
me.callParent();
me.load();
}
});