From e2bbe6b288fb493e280ac2d503778dae6d239890 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 1 Jul 2014 15:09:24 +0100 Subject: [PATCH] webui: code cosmetics (place fields in the same order as the store) --- src/webui/static/app/epg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index f1b8827e..7c11315f 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -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