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:
parent
9b0241d0e0
commit
22ee826cd7
1 changed files with 16 additions and 7 deletions
|
@ -358,7 +358,7 @@ var Dashboard = {
|
||||||
|
|
||||||
$(document.body).append(html);
|
$(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) {
|
if (callback) {
|
||||||
callback(this.confirm == true);
|
callback(this.confirm == true);
|
||||||
|
@ -1053,6 +1053,15 @@ $(function () {
|
||||||
footerHtml += '</div>';
|
footerHtml += '</div>';
|
||||||
|
|
||||||
$(document.body).append(footerHtml);
|
$(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();
|
Dashboard.jQueryMobileInit();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue