From 5c2eea3fd9bdb069fba6ce962aa885c49b4615a0 Mon Sep 17 00:00:00 2001 From: Jasvir Nagra Date: Fri, 24 Feb 2012 13:57:46 -0800 Subject: Datepicker: modified a catch variable to no longer mask an existing variable in scope. Fixed #8138 - datepicker: IE8 does not create a new scope for catch blocks and will cause (cherry picked from commit 367da95ba5afcb80bebce75cd529a46004f60381) --- ui/jquery.ui.datepicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 0b83af289..7d105dd48 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -620,8 +620,8 @@ $.extend(Datepicker.prototype, { $.datepicker._updateDatepicker(inst); } } - catch (event) { - $.datepicker.log(event); + catch (err) { + $.datepicker.log(err); } } return true; -- cgit v1.2.3