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

fix recording button

This commit is contained in:
Luke Pulverenti 2015-06-23 18:13:06 -04:00
parent 02b433a97f
commit c73ed976d9
30 changed files with 165 additions and 129 deletions

View file

@ -71,7 +71,7 @@
html += "</ul>";
$('#divScheduledTasks', page).html(html).trigger('create');
$('.divScheduledTasks', page).html(html).trigger('create');
}
function getTaskProgressHtml(task) {
@ -157,7 +157,7 @@
elem = btnTask.addClass('btnStartTask').removeClass('btnStopTask').hide().data("icon", "action").attr("title", Globalize.translate('ButtonStart'));
elem.removeClass('ui-icon-stdeleteop').addClass('ui-icon-action');
elem.removeClass('ui-icon-delete').addClass('ui-icon-action');
}
}
@ -183,7 +183,7 @@
var page = this;
$('#divScheduledTasks', page).on('click', '.btnStartTask', function () {
$('.divScheduledTasks', page).on('click', '.btnStartTask', function () {
var button = this;
var id = button.getAttribute('data-taskid');
@ -221,8 +221,6 @@
$(ApiClient).off("websocketmessage", onWebSocketMessage).off("websocketopen", onWebSocketConnectionOpen);
stopInterval();
$('#divScheduledTasks', page).off('click', '.btnStartTask').off('click', '.btnStopTask');
});
})(jQuery, document, window);