From 52eb5ca8e0471142d3f6297687df0b4da67b028a Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 15 May 2020 11:15:30 -0600 Subject: [PATCH] Don't bind context for app functions, they expect their own. --- api/js/etemplate/et2_core_legacyJSFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_core_legacyJSFunctions.js b/api/js/etemplate/et2_core_legacyJSFunctions.js index 37e82336a2..79f6bbeb50 100644 --- a/api/js/etemplate/et2_core_legacyJSFunctions.js +++ b/api/js/etemplate/et2_core_legacyJSFunctions.js @@ -140,7 +140,7 @@ } } if (typeof parent[existing_func] === "function") { - return parent[existing_func].bind(context); + parent[existing_func]; } }