Commit c3cf57c0 authored by Dietmar Maurer's avatar Dietmar Maurer

copy pool/StatusView.js from manager to manager5

parent 231ec8d9
Ext.define('PVE.pool.StatusView', {
extend: 'PVE.grid.ObjectGrid',
alias: ['widget.pvePoolStatusView'],
initComponent : function() {
var me = this;
var pool = me.pveSelNode.data.pool;
if (!pool) {
throw "no pool specified";
}
var rows = {
comment: {
header: gettext('Comment'),
required: true
}
};
Ext.applyIf(me, {
title: gettext('Status'),
url: "/api2/json/pools/" + pool,
cwidth1: 150,
interval: 30000,
//height: 195,
rows: rows
});
me.callParent();
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment