[pve-devel] [PATCH 2/2] Remove the queryForm parameter as it blocks the combobox list loading.

Emmanuel Kasper e.kasper at proxmox.com
Thu May 21 11:08:23 CEST 2015


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.
---
 www/manager5/form/ViewSelector.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www/manager5/form/ViewSelector.js b/www/manager5/form/ViewSelector.js
index 19f75f6..13fb06c 100644
--- a/www/manager5/form/ViewSelector.js
+++ b/www/manager5/form/ViewSelector.js
@@ -53,7 +53,6 @@ Ext.define('PVE.form.ViewSelector', {
 	    store: store,
 	    value: groupdef[0][0],
 	    editable: false,
-	    queryMode: 'local',
 	    allowBlank: false,
 	    forceSelection: true,
 	    autoSelect: false,
-- 
2.1.4





More information about the pve-devel mailing list