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

fix scheduled task removal

This commit is contained in:
Luke Pulverenti 2015-12-07 11:47:09 -05:00
parent 4335b1ac03
commit af0fa75b0e
5 changed files with 19 additions and 12 deletions

View file

@ -1,4 +1,11 @@
var ScheduledTaskPage = {
// Array Remove - By John Resig (MIT Licensed)
Array.prototype.remove = function (from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
};
var ScheduledTaskPage = {
refreshScheduledTask: function () {
Dashboard.showLoadingMsg();