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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2016-03-15 10:55:47 +01:00 committed by Dietmar Maurer
parent 561312ff62
commit 598ee8e6bb

View File

@ -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',