Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Close Media Field w/ multiple WYSIWYG Editors #11047

Closed
mbabker opened this issue Jul 7, 2016 · 3 comments
Closed

Can't Close Media Field w/ multiple WYSIWYG Editors #11047

mbabker opened this issue Jul 7, 2016 · 3 comments

Comments

@mbabker
Copy link
Contributor

mbabker commented Jul 7, 2016

Steps to reproduce the issue

Add this snippet to administrator/components/com_content/models/forms/article.xml:

        <field name="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:

<?php echo $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.

System information (as much as possible)

Clone of the CMS as of bb1010a

@dgrammatiko
Copy link
Contributor

@mbabker my bad! will do a PR in few minutes

@dgrammatiko
Copy link
Contributor

Check #11048

@brianteeman
Copy link
Contributor

Closed as we have a pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants