Product quick actions menu & displayAdminProductsExtra #36046
Labels
8.1.x
Branch
Bug
Type: Bug
Hook
NMI
Status: issue needs more information
Waiting for author
Status: action required, waiting for author feedback
Prerequisites
Describe the bug and add attachments
When a module implements the "displayAdminProductsExtra" it is capable of displaying additional module content under the menu tab when editing a product in the back office.
However, since Prestashop 8.1, if the modules makes any ajax requests via JS, the items in the product quick actions menu become disabled. It seems Prestashop 8.1 has implemented an event handler for ajax requests somewhere and disabled the items and never reenables them.
Expected behavior
No response
Steps to reproduce
Create a new blank module which implements the displayAdminProductsExtra hook
The hook should perform an ajax requests to any valid url via JS
The menu items show in the attachment are now disabled when you hover over them or try to click them.
PrestaShop version(s) where the bug happened
8.1.x
PHP version(s) where the bug happened
No response
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered: