define(['datetime', 'jQuery', 'paper-icon-button-light'], function (datetime, $) { var query = { SortBy: "SortName", SortOrder: "Ascending" }; function deleteSeriesTimer(page, id) { require(['confirm'], function (confirm) { confirm(Globalize.translate('MessageConfirmSeriesCancellation'), Globalize.translate('HeaderConfirmSeriesCancellation')).then(function () { Dashboard.showLoadingMsg(); ApiClient.cancelLiveTvSeriesTimer(id).then(function () { require(['toast'], function (toast) { toast(Globalize.translate('MessageSeriesCancelled')); }); reload(page); }); }); }); } function renderTimers(page, timers) { var html = ''; if (timers.length) { html += '