summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2011-03-04 18:17:38 +0000
committerAndreas Brachold <vdr07@deltab.de>2011-03-04 18:17:38 +0000
commit6023e149a8f82f8eb0d305819790912ab27cb431 (patch)
tree07e64f6cf377d9b55ee2c3803bb3a245a8418e14
parent4cb940d3c8150e2c5b3693464be98ffd1bc65761 (diff)
downloadxxv-6023e149a8f82f8eb0d305819790912ab27cb431.tar.gz
xxv-6023e149a8f82f8eb0d305819790912ab27cb431.tar.bz2
Improve epg handling
-rw-r--r--skins/jason/recordings.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/skins/jason/recordings.js b/skins/jason/recordings.js
index c744116..9fbee8f 100644
--- a/skins/jason/recordings.js
+++ b/skins/jason/recordings.js
@@ -657,6 +657,7 @@ Ext.extend(Ext.xxv.recordingsDataView, Ext.DataView, {
|| this.store.data.items[iSel].id != o.data.RecordId)
continue;
+ this.store.data.items[iSel].data.description = o.data.Description;
this.store.data.items[iSel].data.channel = o.data.Channel;
this.store.data.items[iSel].data.marks = o.data.Marks;
this.store.data.items[iSel].data.lifetime = parseInt(o.data.lifetime,10);
@@ -1288,6 +1289,10 @@ function createRecordingsView(viewer,id) {
this.record = record;
this.get(0).get(0).setvalue(record.data,lookup);
+ var content = Ext.getDom("preview-recordings-frame");
+ content.innerHTML = record.data.description.replace(/\r\n/g, '<br />');
+ if(lookup)
+ highlightText(content,lookup,'x-highlight',1);
if(!this.tplimg) {
this.tplimg = new Ext.Template('{day:date} - {start} ({period})');