mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 05:45:09 +00:00
ui: ceph/osd: add a real fix for the window-not-centered issue
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
844a81ba35
commit
cd86360d69
@ -170,9 +170,6 @@ Ext.define('PVE.CephSetFlags', {
|
||||
showProgress: true,
|
||||
|
||||
width: 720,
|
||||
// FIXME: hack, should be done "automatically" one your store got loaded + rendered
|
||||
minHeight: 325,
|
||||
|
||||
layout: 'fit',
|
||||
|
||||
onlineHelp: 'pve_ceph_osds',
|
||||
@ -247,6 +244,8 @@ Ext.define('PVE.CephSetFlags', {
|
||||
grid.getStore().setData(data);
|
||||
// set the put url correctly
|
||||
me.url = "/nodes/" + me.nodename + "/ceph/flags";
|
||||
// re-align after store load, else the window is not centered
|
||||
me.alignTo(Ext.getBody(), 'c-c');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user