Commit Graph

14 Commits

Author SHA1 Message Date
Emmanuel Kasper
2ad16f261f Do not try to enforce a Picker size manually, let the framework do it
The Picker of the ComboBox, has by default a maxHeight of 300 px. If the list of elements is bigger that 300 pixels, then a scrollbar will be added.
This behaviour was broken with ExtJS4, but now works correctly with ExtJS6.
2016-01-22 11:24:25 +01:00
Emmanuel Kasper
a13842bf0e Ext6migrate: move static configuration from instantiation time to class declaration time.
This fixes the problem that this ComboGrid was displayed with an empty value
( similar the to the Keyboard Selection and Realm Selection in the login window)
2016-01-22 11:24:24 +01:00
Emmanuel Kasper
137f890ac7 Ext6migrate :remove unused column ID
An component id 'comment' is already defined for the column Comment of UserView.js causing here a conflict.
It seems ExtJS6 is more stringent about that than ExtJS4.
2016-01-22 11:24:23 +01:00
Emmanuel Kasper
a26c8bf752 Ext6migrate: Fix selection mode combobox for backup 2016-01-22 11:24:22 +01:00
Emmanuel Kasper
ff118a4dd7 Listen to activate / deactivate events to start the background store refresh
This fixes the problem that a user triggerred F5 was not displaying the
content of the Cluster Log Tab
2016-01-22 11:24:22 +01:00
Emmanuel Kasper
cececa1d65 ext6migrate: remove redundant code to set the default active tab
If the default activeTab is *undefined* and *not* null, activeTab defaults to 0,
so we don't need to set this explicitely.

dug from ExtJS tabPanel:
activeTab = me.activeTab !== null ? (me.activeTab || 0) : null;
2016-01-22 11:24:21 +01:00
Emmanuel Kasper
c0b3df6e34 ext6migrate: listen to 'activate' events for panels inside a tabpanel
Using ExtJS6 a browser refresh (F5) do not send the 'show' event which we use to display the store as it did with ExtJS4.

At the momment only for tabs inside the datacenter tabpanel, since node and lxc tabpanels are not yet in manager6/
2016-01-22 11:24:20 +01:00
Emmanuel Kasper
8ca163bd36 Allow email adresses with a top level domain of up to 63 characters
Reapply fix for  https://bugzilla.proxmox.com/show_bug.cgi?id=716
which was missing in manager6/ directory
2016-01-22 11:24:14 +01:00
Emmanuel Kasper
f13d185b0f Correct whitespaces and comment non obvious class properties 2016-01-22 11:24:14 +01:00
Emmanuel Kasper
04ebb5c650 ext6migrate: move class static properties out of initComponent()
This fixes the Auth realm selection while login with ExtJS6
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
dd4a4e36ac ext6migrate: move static class properties out of initComponent()
Besides fitting more with the declarative style of ExtJS, this has the
interesting side effect of allowing comboboxes to work with ExtJS6
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
ae1887db4f ext6migrate: force an empty array as default value for filters
Without this, filters.add() in line 73 file fails
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
6a71fe01f2 ext6migrate: Replace deprecated function which is missing in Ext6
See http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.container.Container-method-doLayout

This allows the pve manager to load
2016-01-22 11:24:12 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00