- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 1.9.4.4 has a checkout breaking JavaScript bug for IE11 users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/