Fields, like the ArticleField used in the Article menu item, open a modal to select the article.
However, on selecting/clearing the selection, the change event is not triggered on the hidden form field that contains the value.
This means you can't have custom javascript that triggers to the change event on those fields.
The solution is to add something like this to window.processModalParent
in media/system/js/fields/modal-fields.js
before the return.
fieldId.dispatchEvent(new Event('change'));
fieldTitle.dispatchEvent(new Event('change'));
Labels |
Added:
No Code Attached Yet
|
What spam?
Your spam.
Don't ask for advice on Joomla, no wonder so many people went with WordPress.
Lol it's like a bot. Haha.
You're btw.
Lol a bot with attitude - and a misunderstanding of English too haha
Obviously not, when you can't even use correct grammar. You're = You are. Basic English. What do you do for a living?
You're wrong. Haha spammers.
What the F is this... can these messages please be removed?
consider to close this and open a new one ;)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-08-25 16:58:12 |
Closed_By | ⇒ | regularlabs |
thanks
There was no need to close this. There has been a considerable amount of spam over the last 24 hours. The moderators could have deleted the comments and blocked the users.
More spam - interestingly all the spam comes from issues.Joomla.org so maybe that can be improved?