From 7c7e10084235fdd2f60f8c3a0c34a87f181db944 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 27 May 2013 23:22:31 +0000 Subject: [PATCH] Properly remove template so it's not still a child --- etemplate/js/et2_extension_nextmatch.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 1fea55356d..0316497e18 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1100,7 +1100,8 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], return; } - // Free the template again + // Free the template again, it's no longer needed + this.removeChild(template); template.free(); // Call the "setNextmatch" function of all registered