From: Dominik Csapak Date: Mon, 26 Jun 2023 14:52:53 +0000 (+0200) Subject: fix tracking center with newer proxmox-widget-toolkit X-Git-Url: https://git.proxmox.com/?p=pmg-gui.git;a=commitdiff_plain;h=6f3f8ac5cc88ac3c71aed4269688193e5dd6c728 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 --- diff --git a/js/MailTracker.js b/js/MailTracker.js index 52641a4..1a170d8 100644 --- a/js/MailTracker.js +++ b/js/MailTracker.js @@ -38,6 +38,8 @@ Ext.define('PMG.MailTrackerFilter', { }, }, + viewModel: {}, + getFilterParams: function() { let me = this; let param = {};