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

fixes #270 - server configurator won't start with IE8

This commit is contained in:
Luke Pulverenti 2013-05-13 11:00:03 -04:00
parent e48c0f781d
commit 7007c76980
6 changed files with 32 additions and 10 deletions

View file

@ -2513,7 +2513,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
};
}
}(jQuery, navigator, JSON, window.WebSocket, setTimeout);
}(jQuery, navigator, window.JSON, window.WebSocket, setTimeout);
/**
* Provides a friendly way to create an api client instance using information from the browser's current url

View file

@ -294,4 +294,4 @@
$("#imageDropZone", page).off('dragover').off('drop');
});
})(jQuery, document, window, FileReader, escape);
})(jQuery, document, window, window.FileReader, escape);

View file

@ -21,6 +21,32 @@ $.fn.checked = function (value) {
}
};
if (!Array.prototype.filter) {
Array.prototype.filter = function (fun /*, thisp*/) {
"use strict";
if (this == null)
throw new TypeError();
var t = Object(this);
var len = t.length >>> 0;
if (typeof fun != "function")
throw new TypeError();
var res = [];
var thisp = arguments[1];
for (var i = 0; i < len; i++) {
if (i in t) {
var val = t[i]; // in case fun mutates this
if (fun.call(thisp, val, i, t))
res.push(val);
}
}
return res;
};
}
var WebNotifications = {
show: function (data) {

View file

@ -1141,12 +1141,8 @@ $(function () {
$(document.body).append(footerHtml);
if ($.browser.msie && parseInt($.browser.version) < 10) {
Dashboard.confirm("This is an unsupported version of Internet Explorer. Please consider upgrading to IE10.", "Unsupported Browser", function (result) {
if (result) {
window.location = "http://windows.microsoft.com/en-us/internet-explorer/downloads/ie-10/worldwide-languages";
}
});
alert("This is an unsupported version of Internet Explorer. Please consider upgrading to IE10, Chrome, or Firefox.");
}
});

View file

@ -36,7 +36,7 @@
Filters: "IsResumable",
Limit: 8,
Recursive: true,
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData",
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData"
};
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.109" targetFramework="net45" />
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.110" targetFramework="net45" />
<package id="ServiceStack.Common" version="3.9.44" targetFramework="net45" />
<package id="ServiceStack.Text" version="3.9.44" targetFramework="net45" />
</packages>