diff options
author | Jasvir Nagra <jasvir@gmail.com> | 2012-02-24 13:57:46 -0800 |
---|---|---|
committer | Jasvir Nagra <jasvir@gmail.com> | 2012-02-24 13:57:46 -0800 |
commit | 367da95ba5afcb80bebce75cd529a46004f60381 (patch) | |
tree | c78b8e20fe1fc7496e1f1f38c8a6e751e40d396c /ui/jquery.ui.datepicker.js | |
parent | b6e1f25ab8c038306146a6ead041dc18bfb9e8c2 (diff) | |
download | jquery-ui-367da95ba5afcb80bebce75cd529a46004f60381.tar.gz jquery-ui-367da95ba5afcb80bebce75cd529a46004f60381.zip |
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
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 07aeeadd0..2a1699bd1 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; |