diff --git a/api/js/etemplate/etemplate2.js b/api/js/etemplate/etemplate2.js index 85f60ba5fd..4fbccae455 100644 --- a/api/js/etemplate/etemplate2.js +++ b/api/js/etemplate/etemplate2.js @@ -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();