From 681be3af0879b3ad22063bd12d8f4da1c826ce00 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 27 May 2013 23:34:14 +0000 Subject: [PATCH] I guess template needs to stick around, even though it's freed --- etemplate/js/et2_extension_nextmatch.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 0316497e18..de3e9fb0b3 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1100,8 +1100,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], return; } - // Free the template again, it's no longer needed - this.removeChild(template); + // Free the template again, but don't remove it template.free(); // Call the "setNextmatch" function of all registered