update recording screens
This commit is contained in:
parent
cb199a5152
commit
e55726cccf
6 changed files with 17 additions and 20 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['globalize', 'connectionManager', 'require', 'loading', 'apphost', 'recordingHelper', 'paper-icon-button-light', 'emby-button'], function (globalize, connectionManager, require, loading, appHost, recordingHelper) {
|
||||
define(['globalize', 'connectionManager', 'require', 'loading', 'apphost', 'dom', 'recordingHelper', 'paper-icon-button-light', 'emby-button'], function (globalize, connectionManager, require, loading, appHost, dom, recordingHelper) {
|
||||
|
||||
function getRegistration(apiClient, programId, feature) {
|
||||
|
||||
|
@ -204,7 +204,8 @@
|
|||
var options = this.options;
|
||||
var apiClient = connectionManager.getApiClient(options.serverId);
|
||||
|
||||
var isChecked = !e.target.querySelector('i').classList.contains('recordingIcon-active');
|
||||
var button = dom.parentWithTag(e.target, 'BUTTON');
|
||||
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
|
||||
|
||||
if (isChecked) {
|
||||
if (!this.TimerId && !this.SeriesTimerId) {
|
||||
|
@ -229,7 +230,8 @@
|
|||
var options = this.options;
|
||||
var apiClient = connectionManager.getApiClient(options.serverId);
|
||||
|
||||
var isChecked = !e.target.querySelector('i').classList.contains('recordingIcon-active');
|
||||
var button = dom.parentWithTag(e.target, 'BUTTON');
|
||||
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
|
||||
|
||||
if (isChecked) {
|
||||
showSeriesRecordingFields(options.parent, options.programId, apiClient);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
.recordingButton {
|
||||
margin-left: 0;
|
||||
padding: .6em 1.05em .55em .8em;
|
||||
padding: .65em 1.05em .6em .8em;
|
||||
min-width: 10em;
|
||||
}
|
||||
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<h1>
|
||||
${Advanced}
|
||||
</h1>
|
||||
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" type="number" id="txtPrePaddingMinutes" pattern="[0-9]*" required="required" min="0" step="1" label="${LabelPrePaddingMinutes}" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue