Editor Bootstrap: wrong result for editor.displayed() after close
Editor Bootstrap: wrong result for editor.displayed() after close
aachevalier
Posts: 8Questions: 0Answers: 0
in Bug reports
I'm using Bootstrap as the display controller for Editor and whenever I close the form, the editor.displayed() method returns all the fields, even though they are not displayed anymore. This does not happen with the default Lightbox display controller.
So for now I added this line in the close method of the Bootstrap plug-in and it seems to do the trick:
$(self._dom.content).detach();
This discussion has been closed.
Replies
Thanks for letting me know about that. I've just committed the fix which is to remove the Bootstrap modal from the DOM when it has finished hiding.
Int he Bootstrap integration file:
Becomes:
This will be in the 1.4.1 package :-)
Regards,
Allan
Nice thanks!