DTTT_collection_background spawned multiple times part II.

DTTT_collection_background spawned multiple times part II.

tomaztomaz Posts: 2Questions: 0Answers: 0
edited March 2014 in Bug reports
First discussion was closed, but I guess z-index might not be the (main) issue.

If you check JS for _fnCollectionHide and _fnCollectionShow, you will notice that Show does not check for this.dom.collection.background element existence, and will fill it with new this.dom.collection.background = nBackground;

This is the only reference that Hide is using for removing this element and if for any reason Show is called on open collection, Hide will have no reference to background and will not be able to remove it. Collection element itself is just hidden that's why it's not replicated.

To make sure all background DIVs are removed you could use

[code]
$('.DTTT_collection_background').remove();
[/code]
This discussion has been closed.