[pve-devel] [PATCH manager 3/4] Fix reload of grid when removing an OSD
Emmanuel Kasper
e.kasper at proxmox.com
Tue Dec 20 11:27:46 CET 2016
The grid reload was happening too early because it should
happen after the Task associated to the Window has been
executed.
---
www/manager6/ceph/OSD.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index a9b6fdb..05abc21 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -412,10 +412,10 @@ Ext.define('PVE.node.CephOsdTree', {
var win = Ext.create('PVE.CephRemoveOsd', {
nodename: rec.data.host,
- osdid: rec.data.id
+ osdid: rec.data.id,
+ afterAPICall: reload
});
win.show();
- me.mon(win, 'close', reload, me);
}
});
--
2.1.4
More information about the pve-devel
mailing list