Use destroy instead of free

This commit is contained in:
Hadi Nategh 2020-01-22 16:21:29 +01:00
parent 11b661c726
commit df9e708b55

View File

@ -205,7 +205,7 @@ etemplate2.prototype.clear = function()
// Un-register handler
this.widgetContainer.egw().unregisterJSONPlugin(etemplate2_handle_assign, this, 'assign');
this.widgetContainer.free();
this.widgetContainer.destroy();
this.widgetContainer = null;
}
jQuery(this.DOMContainer).empty();