From a77c016d981d594f908172546d5d48f553fd10ff Mon Sep 17 00:00:00 2001 From: Phil Wolstenholme Date: Wed, 30 Apr 2014 10:55:09 +0100 Subject: [PATCH] Show IE 8+ compatibility mode users a better error * Currently IE 8,9,10,11 etc users will see an 'IE 7 is not supported' message if they try and view a timeline while IE's compatibility mode is enabled. * This is confusing as the user knows they are not using IE7. * This commit alters the error message to include the sentence 'If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.' * I haven't provided a link to guidance on how to do this as there doesn't seem to be an official Microsoft source on how to *disable* compatibility mode, and I didn't want to link to an unofficial source that might become unavailable in the future. --- source/js/VMM.Timeline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index ab8b430..dece5cf 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -486,7 +486,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { // IE7 if (ie7) { ie7 = true; - VMM.fireEvent(global, config.events.messege, "Internet Explorer " + VMM.Browser.version + " is not supported by TimelineJS. Please update your browser to version 8 or higher."); + VMM.fireEvent(global, config.events.messege, "Internet Explorer " + VMM.Browser.version + " is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser."); } else { detachMessege(); @@ -687,4 +687,4 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { VMM.Timeline.Config = {}; -}; \ No newline at end of file +};