Use a media field in a plugin or component view such as a menu item edit page.
No JS errors
JS errors, the file joomla-image-select.js is looking for options 'xtdImageModal'' in the Joomla.optionsStorage["xtdImageModal"] that are part of the editor modals and xtd buttons
4.0 Beta 6 Dev
Labels |
Added:
?
|
Title |
|
Yes @infograf768 this trick works.
Change from: if (MediaXTDElements.length) {
to: if (MediaXTDElements) {
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-01 09:33:37 |
Closed_By | ⇒ | infograf768 |
Closing as we have a patch
#31819
please mark your test OK here https://issues.joomla.org/tracker/joomla-cms/31819
Can you try the same trick as here?
https://github.com/joomla/joomla-cms/pull/31779/files