@sgiehl opened this Pull Request on April 15th 2015 Member

This PR aims to fix #7404.
I've improved the js code of the live widgets to ensure the elements are still present in body before new ajax calls are triggered. Before there were only checks if the element were still kind of present, which was the case, even when not within the body.

@mnapoli commented on April 15th 2015 Member

How about using this alternative to test if the element is in the DOM: http://stackoverflow.com/a/3086084/245552 I'm not sure performance matter that much here but the suggested solution is 2 orders of magnitude faster so why not.

@sgiehl commented on April 15th 2015 Member

I'll check/test that tomorrow

@sgiehl commented on April 16th 2015 Member

changed!

@mnapoli commented on April 16th 2015 Member

:+1:

This Pull Request was closed on April 16th 2015
Powered by GitHub Issue Mirror