User tests: Successful: Unsuccessful:
Change modules check to ignore the Menu Assignment menu in com_ajax
The request will be successful regardless of the Menu Assignment
The request is executed with an error
Module mod_ajaxtest is not published, you do not have access to it, or it's not assigned to the current menu item.
If you honestly bothered each time to pass the itemID when I need use com_ajax in modules, if the module is form is still quite tolerable (you can make a hidden field), then in all other cases you have to be wiser.
And if you need com_ajax in the module settings. For example, some kind of field, then you have to do a third-party file handler
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
Category | Libraries | ⇒ | Front End com_ajax |
Title |
|
On a quick glance that seems fine.
I have tested this item
Works with my own a bit complicated ajax-module. Translations using the PHP DeepLy library for the DeepL API.
I wondered why it didn't work until I found the evil in the module check. I was happy to find this fix. Thanks!
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-17 15:27:35 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
This is going to break caching this query result...