You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this snippet to administrator/components/com_content/models/forms/article.xml:
<fieldname="extrafield"type="editor"label="An Extra Field"description="Whatever"filter="JComponentHelper::filterText"buttons="true" />
In administrator/components/com_content/views/article/tmpl/edit.php render the new field:
<?phpecho$this->form->getInput('extrafield'); ?>
Go to any media form field (the "Images and links" tab works for this), select an image, and try to close the modal in any available manner (the insert/cancel buttons, the X icon, or clicking outside the modal).
Expected result
The modal is closed.
Actual result
The modal does not close. In the browser console is a "Uncaught RangeError: Maximum call stack size exceeded" message.
Steps to reproduce the issue
Add this snippet to
administrator/components/com_content/models/forms/article.xml
:In
administrator/components/com_content/views/article/tmpl/edit.php
render the new field:Go to any media form field (the "Images and links" tab works for this), select an image, and try to close the modal in any available manner (the insert/cancel buttons, the X icon, or clicking outside the modal).
Expected result
The modal is closed.
Actual result
The modal does not close. In the browser console is a "Uncaught RangeError: Maximum call stack size exceeded" message.
System information (as much as possible)
Clone of the CMS as of bb1010a
The text was updated successfully, but these errors were encountered: