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

add warning for ie < 10

This commit is contained in:
Luke Pulverenti 2013-04-19 18:09:21 -04:00
parent 9b0241d0e0
commit 22ee826cd7

View file

@ -358,7 +358,7 @@ var Dashboard = {
$(document.body).append(html);
$('#confirmFlyout').popup().trigger('create').popup("open").on("popupafterclose", function () {
$('#confirmFlyout').popup({ history: false }).trigger('create').popup("open").on("popupafterclose", function () {
if (callback) {
callback(this.confirm == true);
@ -1053,6 +1053,15 @@ $(function () {
footerHtml += '</div>';
$(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";
}
});
}
});
Dashboard.jQueryMobileInit();