[pve-devel] [PATCH] fixed order of bridge devices

tgrodzinski t.grodzinski at profihost.ag
Fri Sep 14 09:25:58 CEST 2012


Signed-off-by: tgrodzinski <t.grodzinski at profihost.ag>
---
 www/manager/form/BridgeSelector.js |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/manager/form/BridgeSelector.js b/www/manager/form/BridgeSelector.js
index 1cd818f..6a01577 100644
--- a/www/manager/form/BridgeSelector.js
+++ b/www/manager/form/BridgeSelector.js
@@ -26,9 +26,10 @@ Ext.define('PVE.form.BridgeSelector', {
 	me.nodename = undefined; 
 
 	var store = Ext.create('Ext.data.Store', {
-	    fields: [ 'iface', 'active', 'type' ],
-	    filterOnLoad: true
+		fields: [ 'iface', 'active', 'type' ],
+		filterOnLoad: true
 	});
+	store.sort( 'iface', 'ASC' );
 
 	Ext.apply(me, {
 	    store: store,
-- 
1.7.9.5




More information about the pve-devel mailing list