forked from extern/egroupware
Fix some destructors
This commit is contained in:
parent
229b09da8d
commit
562ffe972f
@ -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;
|
||||
},
|
||||
|
||||
|
@ -92,7 +92,10 @@ var et2_tree = et2_inputWidget.extend({
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.input.destructor();
|
||||
if(this.input)
|
||||
{
|
||||
this.input.destructor();
|
||||
}
|
||||
this.input = null;
|
||||
this._super.apply(this, arguments);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user