define(['datetime', 'jQuery', 'paper-icon-button-light'], function (datetime, $) { var query = { SortBy: "SortName", SortOrder: "Ascending" }; function deleteSeriesTimer(context, 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(context); }); }); }); } function renderTimers(context, timers) { var html = ''; if (timers.length) { html += '