I guess template needs to stick around, even though it's freed

This commit is contained in:
Nathan Gray 2013-05-27 23:34:14 +00:00
parent 78b1fffc81
commit 681be3af08

View File

@ -1100,8 +1100,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
return; return;
} }
// Free the template again, it's no longer needed // Free the template again, but don't remove it
this.removeChild(template);
template.free(); template.free();
// Call the "setNextmatch" function of all registered // Call the "setNextmatch" function of all registered