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.

7 REPLIES 7

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

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 seem like a great deal, losing 2% of our exchanges would be a not unimportant measure of cash, so it makes it pretty advantageous to fix something like this. We have a more seasoned segment so "The blue web button" is pretty generally utilized. forpc.onl jiofi.local.html

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..." vidmate instagram video download

 

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

Find all the free software downloads, hardware reviews, online tools, web apps, and tech news.

https://www.techsolveguide.com/

https://www.playstoreinfo.com/

https://www.techappsguide.com/