Fix some destructors

This commit is contained in:
Nathan Gray 2013-03-18 20:52:41 +00:00
parent 229b09da8d
commit 562ffe972f
2 changed files with 6 additions and 1 deletions

View File

@ -1094,6 +1094,8 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader, {
destroy: function() {
this.nextmatch = null;
this._super.apply(this, arguments);
this.div = null;
},

View File

@ -92,7 +92,10 @@ var et2_tree = et2_inputWidget.extend({
},
destroy: function() {
if(this.input)
{
this.input.destructor();
}
this.input = null;
this._super.apply(this, arguments);
},