1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

declare dependency

This commit is contained in:
Luke Pulverenti 2015-12-05 10:34:10 -05:00
parent f6b71369e3
commit a1d3c595d0
38 changed files with 155 additions and 138 deletions

View file

@ -21,18 +21,18 @@
function renderTimers(page, timers) {
var html = LiveTvHelpers.getTimersHtml(timers);
LiveTvHelpers.getTimersHtml(timers).then(function (html) {
var elem = $('#items', page).html(html);
var elem = $('#items', page).html(html);
$('.btnDeleteTimer', elem).on('click', function () {
$('.btnDeleteTimer', elem).on('click', function () {
var id = this.getAttribute('data-timerid');
var id = this.getAttribute('data-timerid');
deleteTimer(page, id);
});
deleteTimer(page, id);
Dashboard.hideLoadingMsg();
});
Dashboard.hideLoadingMsg();
}
function reload(page) {