]> git.proxmox.com Git - pmg-gui.git/commit
fix tracking center with newer proxmox-widget-toolkit
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 26 Jun 2023 14:52:53 +0000 (16:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Jun 2023 11:39:05 +0000 (13:39 +0200)
commit6f3f8ac5cc88ac3c71aed4269688193e5dd6c728
treed32b9044938d29d73bcf97af742bc6dec331f92f
parent785cf90e6342c2ee838547e8419780032fe865b9
fix tracking center with newer proxmox-widget-toolkit

newer widget-toolkit versions did change the DateTimeField a bit, and
now breaks when there is no viewModel anywhere, so add one as a stopgap
fix for now in the tracking center.

the real fix would have to be in DateTimeField itself, probably checking
if there is a bind.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/MailTracker.js