From 598ee8e6bb72a4be71a9cf6ab74a0149ced57d1c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 15 Mar 2016 10:55:47 +0100 Subject: [PATCH] ext6: datepicker workaround Witouth this we can get into issues where only the picker is visible and the rest of the GUI is completely grey when selecting a date with the date picker, generally this happens when a scroll field is involved (e.g., syslog). Signed-off-by: Thomas Lamprecht --- www/manager6/Toolkit.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/manager6/Toolkit.js b/www/manager6/Toolkit.js index 0dc6953f..034218a6 100644 --- a/www/manager6/Toolkit.js +++ b/www/manager6/Toolkit.js @@ -130,6 +130,13 @@ Ext.define('PVE.UnderlayPool', { } }); +// should be fixed with ExtJS 6.0.2, see: +// https://www.sencha.com/forum/showthread.php?307244-Bug-with-datefield-in-window-with-scroll +Ext.define('PVE.Datepicker', { + override: 'Ext.picker.Date', + hideMode: 'visibility' +}); + Ext.define('Ext.ux.IFrame', { extend: 'Ext.Component',