From 9e8a7dab61cc19d68dcedec67771f77d09b22211 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 30 Mar 2015 13:41:12 +0000 Subject: [PATCH] Define an undefined var --- etemplate/js/etemplate2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index b11017bff7..dfb23ee712 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -495,7 +495,7 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback) .not('.et2_date') .filter(function() { // Skip inputs that are out of tab ordering - $this = $j(this); + var $this = $j(this); return !$this.attr('tabindex') || $this.attr('tabIndex')>=0; }).first();