]> git.proxmox.com Git - pve-manager.git/commit
ui: ceph osd: fix call to reload in wrong this context
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Mar 2023 14:08:06 +0000 (15:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Mar 2023 14:08:09 +0000 (15:08 +0100)
commit87b7e5f3522c6da06bbfa8dde0682f108fa85b80
tree43e25aa75bb619d505bb6060e0de9f0d30f7de2c
parent406ad7e23a05d47e0caaf5126c6e7d2627edfe3c
ui: ceph osd: fix call to reload in wrong this context

If we just pass the me.reload as function reference it won't be
executed with `this` being the view controller, so call it directly
on that instead.

Reported-by: Stefan Hanreich <s.hanreich@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/ceph/OSD.js