From e1cd6521839b98404e6979bf9fd492b3a16c8c8b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 22 Jan 2020 16:21:29 +0100 Subject: [PATCH] Use destroy instead of free --- api/js/etemplate/etemplate2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();