tangentlabs / django-fancypages

A Content Enhancement System for Django
https://django-fancypages.readthedocs.org
BSD 3-Clause "New" or "Revised" License
34 stars 11 forks source link

Wrong iframe updated when loading image assert #49

Closed roadsideseb closed 10 years ago

roadsideseb commented 10 years ago

The new backbone implementation handles the loading of the image asset manager in a model which uses an iframe to display the uploader. The WYSIWYG editor in the editor panel also relies on an iframe.

When selecting the image asset manager to upload/select an image, the asset manager iframe is correctly displayed in the modal but all other iframes on the page also display the asset manager.

The problem seems to be that not just the modal iframe's src attribute is updated but the src of all iframes.