webui: some cosmetics
This commit is contained in:
parent
0ac30583e7
commit
aa50b12f85
2 changed files with 9 additions and 3 deletions
|
@ -109,11 +109,13 @@ tvheadend.channels = new Ext.data.JsonStore({
|
|||
root : 'entries',
|
||||
fields : [ 'key', 'val' ],
|
||||
id : 'key',
|
||||
autoLoad : true
|
||||
autoLoad : true,
|
||||
sortInfo : {
|
||||
field : 'val',
|
||||
direction : 'ASC'
|
||||
}
|
||||
});
|
||||
|
||||
tvheadend.channels.setDefaultSort('val', 'ASC');
|
||||
|
||||
tvheadend.comet.on('channels', function(m) {
|
||||
if (m.reload != null) tvheadend.channels.reload();
|
||||
});
|
||||
|
|
|
@ -24,6 +24,10 @@ tvheadend.idnode_get_enum = function ( conf )
|
|||
fields : conf.fields || [ 'key', 'val' ],
|
||||
id : conf.id || 'key',
|
||||
autoLoad : true,
|
||||
sortInfo : {
|
||||
field : 'val',
|
||||
direction : 'ASC'
|
||||
}
|
||||
});
|
||||
tvheadend.idnode_enum_stores[key] = st;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue