mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
Use destroy instead of free
This commit is contained in:
parent
28e4e81478
commit
e1cd652183
@ -205,7 +205,7 @@ etemplate2.prototype.clear = function()
|
|||||||
// Un-register handler
|
// Un-register handler
|
||||||
this.widgetContainer.egw().unregisterJSONPlugin(etemplate2_handle_assign, this, 'assign');
|
this.widgetContainer.egw().unregisterJSONPlugin(etemplate2_handle_assign, this, 'assign');
|
||||||
|
|
||||||
this.widgetContainer.free();
|
this.widgetContainer.destroy();
|
||||||
this.widgetContainer = null;
|
this.widgetContainer = null;
|
||||||
}
|
}
|
||||||
jQuery(this.DOMContainer).empty();
|
jQuery(this.DOMContainer).empty();
|
||||||
|
Loading…
Reference in New Issue
Block a user