From 36b5590882273edff3b88946e71db3bc99b8a120 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 19 Jul 2013 12:37:47 +0000 Subject: [PATCH] Fix wrong argument order to jQuery.proxy() --- etemplate/js/et2_core_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_common.js b/etemplate/js/et2_core_common.js index 6b5aa11058..a44c4c55f6 100644 --- a/etemplate/js/et2_core_common.js +++ b/etemplate/js/et2_core_common.js @@ -232,7 +232,7 @@ function et2_checkType(_val, _type, _attr, _cname) { try { - return jQuery.proxy(parent,parent[func]); + return jQuery.proxy(parent[func],parent); } catch (e) {