Bug in aimeos.js

Questions around the Aimeos bundle for the Symfony framework
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
etienne.bonnin
Posts: 4
Joined: 30 May 2018, 15:16

Bug in aimeos.js

Post by etienne.bonnin » 07 Jun 2018, 16:04

In my environment the ajax calls setupWatchAction and setupFavoriteAction do not work!

I suggest adding:

Code: Select all

dataType: 'html'
inside ajax calls. I do not know why in my environment the script does not work but I imagine it may depend on some versions of jquery. Maybe in your jquery version the html type is considered by default.

Regards.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Bug in aimeos.js

Post by aimeos » 07 Jun 2018, 16:36

Can you create a pull request here?
https://github.com/aimeos/ai-client-html
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply