Fix checks based on window.ActiveXObject in IE > 10
| | |
| | | |
| | | - Fix bug where max_group_members was ignored when adding a new contact (#1490214) |
| | | - Hide MDN and DSN options in compose if disabled by admin (#1490221) |
| | | - Fix checks based on window.ActiveXObject in IE > 10 |
| | | |
| | | RELEASE 1.1-rc |
| | | -------------- |
| | |
| | | if (plugin && plugin.enabledPlugin) |
| | | return 1; |
| | | |
| | | if (window.ActiveXObject) { |
| | | if ('ActiveXObject' in window) { |
| | | try { |
| | | if (plugin = new ActiveXObject("AcroPDF.PDF")) |
| | | return 1; |
| | |
| | | if (plugin && plugin.enabledPlugin) |
| | | return 1; |
| | | |
| | | if (window.ActiveXObject) { |
| | | if ('ActiveXObject' in window) { |
| | | try { |
| | | if (plugin = new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) |
| | | return 1; |
| | |
| | | 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; |
| | | }; |
| | | |