webui: code cosmetics (place fields in the same order as the store)

This commit is contained in:
Ian 2014-07-01 15:09:24 +01:00
parent 88279741c9
commit e2bbe6b288

View file

@ -9,8 +9,8 @@ tvheadend.brands = new Ext.data.JsonStore({
});
insertContentGroupClearOption = function( scope, records, options ){
var placeholder = Ext.data.Record.create(['code', 'name']);
scope.insert(0,new placeholder({code: '-1', name: '(Clear filter)'}));
var placeholder = Ext.data.Record.create(['name', 'code']);
scope.insert(0,new placeholder({name: '(Clear filter)', code: '-1'}));
};
//WIBNI: might want this store to periodically update