(function () {
Dashboard.importCss('devices/ie/ie.css');
function onPageShow() {
var page = this;
if (navigator.userAgent.toLowerCase().indexOf('Windows NT 10.') != -1) {
var expectedValue = new Date().toDateString();
if (appStorage.getItem("ieswitchtoedge") == expectedValue) {
return;
}
appStorage.setItem("ieswitchtoedge", expectedValue);
var msg = Globalize.translate('MessageTryMicrosoftEdge');
msg += "
";
msg += '' + Globalize.translate('ButtonLearnMore') + '';
Dashboard.alert({
message: msg,
title: Globalize.translate('HeaderTryMicrosoftEdge')
});
}
}
pageClassOn('pageshow', "libraryPage", onPageShow);
pageClassOn('pageshow', "type-interior", onPageShow);
})();