js error in IE11
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
js error in IE11
Hi
I just found out the aimeos.js in aimeos/Resources/Public/Themes is causing a js error in IE11. Because of this the images in the list view and the filter dont work anymore.
The error seems to be caused by the following for loop:
You can see the error here in the aimeos demo shop:
http://typo3.demo.aimeos.org/demo/
TYPO3 8.7.3, PHP 7, aimeos 17.7.0
I just found out the aimeos.js in aimeos/Resources/Public/Themes is causing a js error in IE11. Because of this the images in the list view and the filter dont work anymore.
The error seems to be caused by the following for loop:
Code: Select all
for(entry of basket.included) { }
http://typo3.demo.aimeos.org/demo/
TYPO3 8.7.3, PHP 7, aimeos 17.7.0
Re: js error in IE11
The "for of" loops are part of the ES6 standard and seem to be only supported since IE12 (Edge). The alternative would be a "for(i=0; i<basket.included.length;i++)" loop. Are you able to provide a tested patch for this? Thank you
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: js error in IE11
Thank you very much, this fixed the problem. Just tested in IE11.