Aleksander Machniak
2015-01-10 b134f59eb12db00efb3088274f2a0fbc31a5e9fc
Fix checks based on window.ActiveXObject in IE > 10

Conflicts:
CHANGELOG
3 files modified
7 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/js/app.js 4 ●●●● patch | view | raw | blame | history
program/js/common.js 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -4,6 +4,7 @@
- Fix bug where some valid text in a message was handled as uuencoded attachment
- Fix wrong icon for download button in classic skin
- Fix bug where sent message was saved in Sent folder even if disabled by user (#1490208)
- Fix checks based on window.ActiveXObject in IE > 10
RELEASE 1.0.4
-------------
program/js/app.js
@@ -7680,7 +7680,7 @@
    if (plugin && plugin.enabledPlugin)
        return 1;
    if (window.ActiveXObject) {
    if ('ActiveXObject' in window) {
      try {
        if (axObj = new ActiveXObject("AcroPDF.PDF"))
          return 1;
@@ -7713,7 +7713,7 @@
    if (plugin && plugin.enabledPlugin)
        return 1;
    if (window.ActiveXObject) {
    if ('ActiveXObject' in window) {
      try {
        if (axObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))
          return 1;
program/js/common.js
@@ -93,7 +93,7 @@
  this.xmlhttp_test = function()
  {
    var activeX_test = new Function("try{var o=new ActiveXObject('Microsoft.XMLHTTP');return true;}catch(err){return false;}");
    this.xmlhttp = (window.XMLHttpRequest || (window.ActiveXObject && activeX_test()));
    this.xmlhttp = window.XMLHttpRequest || (('ActiveXObject' in window) && activeX_test());
    return this.xmlhttp;
  };