From 331364810be57510a46a4873e8ca5578b36864da Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 7 Nov 2017 09:01:22 -0700 Subject: [PATCH] Fix nextmatch returned null for getDOMNode() if no sender provided This caused it to appear hidden to etemplate print() --- api/js/etemplate/et2_extension_nextmatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 70f88c5b84..cc76b18810 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -1997,7 +1997,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_ }, getDOMNode: function(_sender) { - if (_sender == this) + if (_sender == this || typeof _sender === 'undefined') { return this.div[0]; }