]> git.proxmox.com Git - pve-manager-legacy.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)
commitd8a7ecbd9d5187c3a206cacd359ec45478870fb6
tree4d498fe9cba9d003b4e0b44ccf187c20581add03
parent4df3fa34fd08db446c6a994b2f2340b755256d9d
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