Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: Fixes in webui/static scripts for Internet Explorer
  • Loading branch information
karlsson authored and perexg committed Nov 7, 2014
1 parent 2ad7585 commit e7b613b
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 75 deletions.
10 changes: 5 additions & 5 deletions src/webui/static/app/acleditor.js
Expand Up @@ -26,18 +26,18 @@ tvheadend.acleditor = function(panel, index)
admin: { width: 100 },
conn_limit: { width: 160 },
channel_min: { width: 160 },
channel_max: { width: 160 },
channel_max: { width: 160 }
},
tabIndex: index,
edit: {
params: {
list: list,
},
list: list
}
},
add: {
url: 'api/access/entry',
params: {
list: list,
list: list
},
create: { }
},
Expand All @@ -46,6 +46,6 @@ tvheadend.acleditor = function(panel, index)
list: list,
help: function() {
new tvheadend.help('Access Control Entries', 'config_access.html');
},
}
});
};
4 changes: 2 additions & 2 deletions src/webui/static/app/caclient.js
Expand Up @@ -51,7 +51,7 @@ tvheadend.caclient = function(panel, index) {
propField: 'props',
list: list
},
create: { },
create: { }
},
del: true,
move: true,
Expand All @@ -60,7 +60,7 @@ tvheadend.caclient = function(panel, index) {
plugins: [actions],
help: function() {
new tvheadend.help('Conditional Access Client', 'config_caclient.html');
},
}
});

return panel;
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/config.js
Expand Up @@ -135,7 +135,7 @@ tvheadend.miscconf = function(panel, index) {

var preferPicon = new Ext.ux.form.XCheckbox({
name: 'prefer_picon',
fieldLabel: 'Prefer picons over channel name',
fieldLabel: 'Prefer picons over channel name'
});

var chiconPath = new Ext.form.TextField({
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/cteditor.js
Expand Up @@ -22,7 +22,7 @@ tvheadend.cteditor = function(panel, index)
},
help: function() {
new tvheadend.help('Channel Tags', 'config_tags.html');
},
}
});

return panel;
Expand Down
30 changes: 15 additions & 15 deletions src/webui/static/app/dvr.js
Expand Up @@ -43,7 +43,7 @@ tvheadend.dvrDetails = function(uuid) {
url: 'api/idnode/load',
params: {
uuid: uuid,
list: 'channel_icon,disp_title,disp_description,status',
list: 'channel_icon,disp_title,disp_description,status'
},
success: function(d) {
d = json_decode(d);
Expand Down Expand Up @@ -120,7 +120,7 @@ tvheadend.dvr_upcoming = function(panel, index) {
tooltip: 'Abort the selected recording',
iconCls: 'cancel',
text: 'Abort',
disabled: true,
disabled: true
});
},
callback: function(conf, e, store, select) {
Expand Down Expand Up @@ -167,13 +167,13 @@ tvheadend.dvr_upcoming = function(panel, index) {
add: {
url: 'api/dvr/entry',
params: {
list: list,
list: list
},
create: { }
},
edit: {
params: {
list: list,
list: list
}
},
del: true,
Expand All @@ -191,7 +191,7 @@ tvheadend.dvr_upcoming = function(panel, index) {
beforeedit: beforeedit,
help: function() {
new tvheadend.help('DVR-Upcoming/Current Recordings', 'dvr_upcoming.html');
},
}
});

return panel;
Expand Down Expand Up @@ -273,7 +273,7 @@ tvheadend.dvr_finished = function(panel, index) {
selected: selected,
help: function() {
new tvheadend.help('DVR-Finished Recordings', 'dvr_finished.html');
},
}
});

return panel;
Expand Down Expand Up @@ -356,7 +356,7 @@ tvheadend.dvr_failed = function(panel, index) {
selected: selected,
help: function() {
new tvheadend.help('DVR-Failed Recordings', 'dvr_failed.html');
},
}
});

return panel;
Expand All @@ -382,7 +382,7 @@ tvheadend.dvr_settings = function(panel, index) {
del: true,
help: function() {
new tvheadend.help('DVR', 'config_dvr.html');
},
}
});

return panel;
Expand Down Expand Up @@ -414,13 +414,13 @@ tvheadend.autorec_editor = function(panel, index) {
pri: { width: 80 },
config_name: { width: 120 },
creator: { width: 200 },
comment: { width: 200 },
comment: { width: 200 }
},
add: {
url: 'api/dvr/autorec',
params: {
list: 'enabled,name,title,channel,tag,content_type,minduration,' +
'maxduration,weekdays,start,pri,config_name,comment',
'maxduration,weekdays,start,pri,config_name,comment'
},
create: { }
},
Expand All @@ -438,7 +438,7 @@ tvheadend.autorec_editor = function(panel, index) {
},
help: function() {
new tvheadend.help('DVR', 'dvr_autorec.html');
},
}
});

return panel;
Expand Down Expand Up @@ -467,12 +467,12 @@ tvheadend.timerec_editor = function(panel, index) {
pri: { width: 80 },
config_name: { width: 120 },
creator: { width: 200 },
comment: { width: 200 },
comment: { width: 200 }
},
add: {
url: 'api/dvr/timerec',
params: {
list: 'enabled,name,title,channel,weekdays,start,stop,pri,config_name,comment',
list: 'enabled,name,title,channel,weekdays,start,stop,pri,config_name,comment'
},
create: { }
},
Expand All @@ -489,7 +489,7 @@ tvheadend.timerec_editor = function(panel, index) {
},
help: function() {
new tvheadend.help('DVR', 'dvr_timerec.html');
},
}
});

return panel;
Expand All @@ -505,7 +505,7 @@ tvheadend.dvr = function(panel, index) {
autoScroll: true,
title: 'Digital Video Recorder',
iconCls: 'dvr',
items: [],
items: []
});
tvheadend.dvr_upcoming(p, 0);
tvheadend.dvr_finished(p, 1);
Expand Down
16 changes: 8 additions & 8 deletions src/webui/static/app/epg.js
Expand Up @@ -135,7 +135,7 @@ tvheadend.epgDetails = function(event) {
id: 'key',
url: 'api/idnode/load',
baseParams: {
enum: 1,
'enum': 1,
'class': 'dvrconfig'
},
sortInfo: {
Expand Down Expand Up @@ -277,7 +277,7 @@ tvheadend.epg = function() {
reader: new Ext.ux.grid.livegrid.JsonReader({
root: 'entries',
totalProperty: 'totalCount',
id: 'eventId',
id: 'eventId'
},
[
{ name: 'eventId' },
Expand All @@ -304,8 +304,8 @@ tvheadend.epg = function() {
{ name: 'ageRating' },
{ name: 'genre' },
{ name: 'dvrState' },
{ name: 'serieslinkId' },
]),
{ name: 'serieslinkId' }
])
});

function setMetaAttr(meta, record, cursor) {
Expand Down Expand Up @@ -405,7 +405,7 @@ tvheadend.epg = function() {
setMetaAttr(meta, record, value && clickable);
return !value ? '' : (clickable ? lookup : '') + value;
},
listeners: { click: { fn: clicked } },
listeners: { click: { fn: clicked } }
},
{
width: 250,
Expand Down Expand Up @@ -461,7 +461,7 @@ tvheadend.epg = function() {
setMetaAttr(meta, record, value && clickable);
return !value ? '' : (clickable ? lookup : '') + value;
},
listeners: { click: { fn: clicked } },
listeners: { click: { fn: clicked } }
},
{
width: 50,
Expand Down Expand Up @@ -497,7 +497,7 @@ tvheadend.epg = function() {
if (r.length < 1) return "";
return (clickable ? lookup : '') + r.join(',');
},
listeners: { click: { fn: clicked } },
listeners: { click: { fn: clicked } }
}
]
});
Expand Down Expand Up @@ -888,7 +888,7 @@ tvheadend.epg = function() {
/* Really do it */
var conf = {
enabled: 1,
comment: 'Created from EPG query',
comment: 'Created from EPG query'
};
if (params.title) conf.title = params.title;
if (params.channel) conf.channel = params.channel;
Expand Down
4 changes: 2 additions & 2 deletions src/webui/static/app/epggrab.js
Expand Up @@ -96,7 +96,7 @@ tvheadend.epggrab = function(panel, index) {
var internalCron = new Ext.form.TextArea({
fieldLabel: 'Cron multi-line',
name: 'cron',
width: 300,
width: 300
});

/*
Expand Down Expand Up @@ -263,7 +263,7 @@ tvheadend.epggrab = function(panel, index) {
var otaCron = new Ext.form.TextArea({
fieldLabel: 'Over-the-air Cron multi-line',
name: 'ota_cron',
width: 300,
width: 300
});

var otaTimeout = new Ext.form.NumberField({
Expand Down
4 changes: 2 additions & 2 deletions src/webui/static/app/esfilter.js
Expand Up @@ -34,9 +34,9 @@ tvheadend.esfilter_tab = function(panel)
displayField: 'caption',
valueField: 'class',
propField: 'props',
list: list,
list: list
},
create: { },
create: { }
},
del: true,
help: function() {
Expand Down

0 comments on commit e7b613b

Please sign in to comment.