cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

Noticed after an upgrade IE11 users were getting an unhandled global error. In 1.9.4.4 a new function was added to js/varien/js.js called buttonDisable (only used by the Compilation page in admin). Unfortunately it uses arrow functions which IE11 doesn't like.

4 REPLIES 4

Re: Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

Hello @axeljose_axeljo 

 

on the file js/varien/js.js, at the bottom of it, you will find the following code:

function buttonDisabler() {
const buttons = document.querySelectorAll('button.save');
buttons.forEach(button => button.disabled = true);
}

the code uses ES6 syntax, which IE does not support.

 

change it to:

function buttonDisabler() {
const buttons = document.querySelectorAll('button.save');
buttons.forEach(function(button) {button.disabled = true;});
}

 

for better compatibility.

 

hope it will help you

 

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

I have to admit my first thought is 'If they're using IE11, they have way bigger problems than Magento..." :-P

Re: Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

For us we're down to around 2% on IE11. While that may not sound like a lot, losing 2% of our transactions would be a not insignificant amount of money, so it makes it pretty worthwhile to fix this sort of thing. We have an older demographic so "The blue internet button" is pretty commonly used. forpc.onl jiofi.local.html

 

Re: Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users

really thanks for this admin. Try the below URL to get into the login page of Jiofi.
https://www.jiofilocalhtmllogin.in/
https://www.hotstarforpclive.in/
https://www.playitplayerforpcdownload.com/