[pve-devel] [PATCH manager 6 2/2] ext6: datepicker workaround

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 15 10:55:47 CET 2016


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 at proxmox.com>
---
 www/manager6/Toolkit.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/manager6/Toolkit.js b/www/manager6/Toolkit.js
index 0dc6953..034218a 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',
 
-- 
2.1.4





More information about the pve-devel mailing list