Browsers seem to disagree on whether window.location.hostname
shouldinclude the brackets around an ipv6 address.
Adding PVE.Utils.windowHostname() to always strip them away.
For unknown reasons, setting queryForm: here prevents loading
the option list in the combobox.
However: the queryForm parameter only would only make sense if we also
set 'editable' to 'true', since queryForm specifies how the drop down
list should react to user input in the text field of the combobox.
Hence it is safe to remove it.
Tested with ExtJS4 and ExtJS5, this patch has no impact on
the rendering of the underneath node tree.
With the alignment set to 'middle' in the north region, the 'versioninfo'
component was wrongly pushed downwards, hiding the version string.
Besides that we need to manually set a 'height' argument
to 'versioninfo' equal to the size of the north region, to prevent extjs to
generate a problematic padding.
With ExtJS 4, we introduced an override to Ext.grid.feature.Chunking
to fix scrollings problems in the grid when having a high number
of nodes. Ext.grid.feature.Chunking has been removed from ExtJS
in version 5, so we hope either the problem is fixed on ExtJS side,
or we will have to find a different workaround.
Ext.ModelMgr.create() was removed in 5.*
The recommended way to create a new instance is to call Ext.create()
Ext.create() does not take a "id" argument, however it sets
the id of the instance to the id of the config object given
to the Ext.create() call.
and default values from constructor to class body, needed fix for
"Cannot override method afterRequest on Ext.data.proxy.Ajax instance"
error. See:
https://fiddle.sencha.com/#fiddle/lpe for test fiddle
http://bit.ly/1HJJ0Ej for background
Developement of the ext5 version of the pve-manager will take place
in the www/management5 directory of the git repo.
We start the initial import with Utils.js, who contains variables and
static functions used by all other components.
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>