From 031d850246454c1e5a3aacfedd801c1dd0a33191 Mon Sep 17 00:00:00 2001 From: horchi Date: Sat, 10 Feb 2018 15:08:18 +0100 Subject: 2018-02-10: version 1.1.132 (rechner)\n - chanhed: text for swichtimer and highlight recIcon on success\n\n --- http/src/js/eventDetail.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'http/src/js') diff --git a/http/src/js/eventDetail.js b/http/src/js/eventDetail.js index 6574aab..d206dcd 100644 --- a/http/src/js/eventDetail.js +++ b/http/src/js/eventDetail.js @@ -68,8 +68,9 @@ epgd.eventDetail.prototype.doPlay = function (checkAvail) { var t = parseInt(epgd.utils.now().getTime() / 1000, 10) - this.data.starttime; if (t > this.data.duration) return false; - if (checkAvail) return !!epgd.vdrs.current.uuid; + if (checkAvail) return !epgd.vdrs.current.uuid ? false : (t < 0 ? epgd.tr.pages.timerList.newTimer + ': ' : '') + epgd.tr.pages.eventDetail.ch_switch; if (t < 0 ){ // Umschalttimer + t= this.win.$rec; epgd.pages.timerList.save({ type: 'V', active: 1, @@ -77,6 +78,8 @@ epgd.eventDetail.prototype.doPlay = function (checkAvail) { eventid: this.data.id, channelid: this.data.channelid, title: this.data.title + },null,null,function(){ + t.addClass("hasTimer") }); } else epgd.vdrs.current.switchChannel(this.data.channelid); @@ -149,7 +152,7 @@ epgd.eventDetail.win.prototype._create = function () { toolbar = this.$win.find('.toolbar')[0]; this.$rec= $('