diff options
Diffstat (limited to 'http/src/js/5_timerDialog.js')
-rw-r--r-- | http/src/js/5_timerDialog.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/http/src/js/5_timerDialog.js b/http/src/js/5_timerDialog.js index 113e7a9..7ee729b 100644 --- a/http/src/js/5_timerDialog.js +++ b/http/src/js/5_timerDialog.js @@ -364,7 +364,7 @@ epgd.searchTimerDialog.prototype.create = function () { + '<div class="full"><select id="tSMode" style="width:auto">' + sModes + '</select>' + ' <input type="checkbox" id="tCaseSens" /> <label for="tCaseSens">' + trS.caseSensitive + '</label></div>' - + '<div class="ui-corner-all week">' + [""].concat(trS.searchFields).join('<input type="checkbox" name="tSFields" />') + '</div>' + + '<div class="ui-corner-all week">' + [" "].concat(trS.searchFields).join('<input type="checkbox" name="tSFields" />') + '</div>' + '<div><label for="tAdv"><input type="checkbox" id="tAdv" /> ' + epgd.tr.advanced + epgd.pages.help.getIcon('sTAdv') + '</label><div class="ui-corner-all week">' + '<span>' + tr.episode + '</span><input type="text" id="tSFEpisode" style="width:200px" /> ' + '<span>' + epgd.tr.pages.eventDetail.season + '</span><input type="text" id="tSFSeason" style="width:40px" /> ' @@ -376,7 +376,7 @@ epgd.searchTimerDialog.prototype.create = function () { + '<br /><input type="checkbox" id="tSFNoEpgMatch" />' + tr.noEpgMatch + '</div></div>' + '<div class="noTypeS"><div><label for="tRepeat"><input type="checkbox" id="tRepeat" /> ' - + tr.noRepeat + epgd.pages.help.getIcon('sTRepeat') + '</label><div class="ui-corner-all week">' + [""].concat(trS.searchFields).join('<input type="checkbox" name="tRFields" />') + '</div></div></div>' + + tr.noRepeat + epgd.pages.help.getIcon('sTRepeat') + '</label><div class="ui-corner-all week">' + [""].concat(trS.repeatFields).join('<input type="checkbox" name="tRFields" />') + '</div></div></div>' + '<div><input type="radio" name="tChExclude" value="1" id="tChExclude0" /><label for="tChInclude">' + tr.chInclude + '</label>' + epgd.pages.help.getIcon('sTChannels') + '<input type="radio" name="tChExclude" value="0" id="tChExclude1" /><label for="tChExclude">' + tr.chExclude + '</label></div><input type="text" id="tChannels" class="full"/>' @@ -390,6 +390,12 @@ epgd.searchTimerDialog.prototype.create = function () { $([form.tTime, form.tRepeat, form.tAdv]).change(function () { $(this).parent().next().toggle(this.checked); }); + $(form.tRFields).change(function () { + if (this.checked) + $(this).prev().prop("disabled", true).prop("checked", true).change(); + else + $(this).prev().prop("disabled", false) + }); $([form.tSFSeason, form.tSFSPart, form.tSFYear]).change(function () { this.value = this.value.replace(/[^0-9-]/g, ''); if (this.value.length == 1 && this.value == '-') @@ -424,7 +430,7 @@ epgd.searchTimerDialog.prototype.render = function (t) { form.tRFields[i].checked = (d & f); form.tRepeat.checked = d > 0; $(form.tRepeat).change(); - + $(form.tRFields).change(); form.tSFEpisode.value = t.episodename || ''; form.tSFSeason.value = t.season || ''; form.tSFSPart.value = t.seasonpart || ''; |