gui: ceph osd: use correct reload function

In this component, reload is defined as a local variable in
initComponent not on the component itself

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-06-05 15:59:41 +02:00 committed by Thomas Lamprecht
parent 4c94e9de1d
commit 02a1b548bd

View File

@ -430,7 +430,7 @@ Ext.define('PVE.node.CephOsdTree', {
var win = Ext.create('Proxmox.window.TaskProgress', {
upid: upid,
taskDone: function() {
me.reload();
reload();
}
});
win.show();
@ -449,7 +449,7 @@ Ext.define('PVE.node.CephOsdTree', {
var win = Ext.create('PVE.CephCreateOsd', {
nodename: nodename,
taskDone: function(success) {
me.reload();
reload();
}
});
win.show();
@ -499,7 +499,7 @@ Ext.define('PVE.node.CephOsdTree', {
nodename: rec.data.host,
osdid: rec.data.id,
taskDone: function(success) {
me.reload();
reload();
}
});
win.show();