From bc35692551a78f8c85c11d77ae1e326c66eaa169 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 25 Oct 2019 21:56:06 -0400 Subject: [PATCH] Api4 explorer: Fix variable leaking to global scope --- ang/api4Explorer/Explorer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ang/api4Explorer/Explorer.js b/ang/api4Explorer/Explorer.js index 3d596a2b18..3e16b4f574 100644 --- a/ang/api4Explorer/Explorer.js +++ b/ang/api4Explorer/Explorer.js @@ -658,7 +658,7 @@ function makeWidget(field, op) { var $el = $(element), - inputType = field.input_type; + inputType = field.input_type, dataType = field.data_type; if (!op) { op = field.serialize || dataType === 'Array' ? 'IN' : '='; -- 2.25.1