mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 20:05:21 +00:00
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:
parent
4c94e9de1d
commit
02a1b548bd
@ -430,7 +430,7 @@ Ext.define('PVE.node.CephOsdTree', {
|
|||||||
var win = Ext.create('Proxmox.window.TaskProgress', {
|
var win = Ext.create('Proxmox.window.TaskProgress', {
|
||||||
upid: upid,
|
upid: upid,
|
||||||
taskDone: function() {
|
taskDone: function() {
|
||||||
me.reload();
|
reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
@ -449,7 +449,7 @@ Ext.define('PVE.node.CephOsdTree', {
|
|||||||
var win = Ext.create('PVE.CephCreateOsd', {
|
var win = Ext.create('PVE.CephCreateOsd', {
|
||||||
nodename: nodename,
|
nodename: nodename,
|
||||||
taskDone: function(success) {
|
taskDone: function(success) {
|
||||||
me.reload();
|
reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
@ -499,7 +499,7 @@ Ext.define('PVE.node.CephOsdTree', {
|
|||||||
nodename: rec.data.host,
|
nodename: rec.data.host,
|
||||||
osdid: rec.data.id,
|
osdid: rec.data.id,
|
||||||
taskDone: function(success) {
|
taskDone: function(success) {
|
||||||
me.reload();
|
reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user