Browse Source

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.
pull/617/head
Phil Wolstenholme 11 years ago
parent
commit
a77c016d98
  1. 4
      source/js/VMM.Timeline.js

4
source/js/VMM.Timeline.js

@ -486,7 +486,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
// IE7 // IE7
if (ie7) { if (ie7) {
ie7 = true; 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 { } else {
detachMessege(); detachMessege();
@ -687,4 +687,4 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
VMM.Timeline.Config = {}; VMM.Timeline.Config = {};
}; };

Loading…
Cancel
Save