Dispose of the existing image tree so that a new one can be drawn in its place
This commit is contained in:
parent
8a0d6d05b4
commit
e047b5e11e
2 changed files with 18 additions and 3 deletions
|
@ -809,6 +809,16 @@ ImageFileChangeTree.prototype.notifyResized = function() {
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* Disposes of the tree.
|
||||
*/
|
||||
ImageFileChangeTree.prototype.dispose = function() {
|
||||
var container = this.container_ ;
|
||||
$('#' + container).removeOverscroll();
|
||||
document.getElememtById(container).innerHTML = '';
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Draws the tree.
|
||||
*/
|
||||
|
|
Reference in a new issue