mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-10 03:19:00 +00:00

* replace scrollable with autoScroll and move to prototype body * use 'activate' to load store on F5 * do not set a height on the StatusView component: it hides some rows, and the framework sets a good working default height * replace deprecated 'rows' parameter in textareafield with height in pixels
25 lines
361 B
JavaScript
25 lines
361 B
JavaScript
Ext.define('PVE.window.NotesEdit', {
|
|
extend: 'PVE.window.Edit',
|
|
|
|
initComponent : function() {
|
|
var me = this;
|
|
|
|
Ext.apply(me, {
|
|
title: gettext('Notes'),
|
|
width: 600,
|
|
layout: 'fit',
|
|
items: {
|
|
xtype: 'textarea',
|
|
name: 'description',
|
|
height: 200,
|
|
value: '',
|
|
hideLabel: true
|
|
}
|
|
});
|
|
|
|
me.callParent();
|
|
|
|
me.load();
|
|
}
|
|
});
|