Changes between Initial Version and Version 1 of Ticket #10667, comment 3


Ignore:
Timestamp:
Jul 30, 2015, 6:49:01 AM (7 years ago)
Author:
merildev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10667, comment 3

    initial v1  
    22
    33I use Backbone for my SPA, when the view which contains the draggable element is closed, the DOM tree should be deleted. But, I can see a leak and my view appears as a detached DOM tree with some references in the JS code (jQuery UI).
     4
     5Quick and dirty solution:
     6If I do a 'delete $.ui.ddmanager.current;' when the view is closed, the reference is removed and the garbage collector is able to delete the DOM nodes.