aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorJasvir Nagra <jasvir@gmail.com>2012-02-24 13:57:46 -0800
committerJasvir Nagra <jasvir@gmail.com>2012-02-24 13:57:46 -0800
commit367da95ba5afcb80bebce75cd529a46004f60381 (patch)
treec78b8e20fe1fc7496e1f1f38c8a6e751e40d396c /ui/jquery.ui.datepicker.js
parentb6e1f25ab8c038306146a6ead041dc18bfb9e8c2 (diff)
downloadjquery-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.js4
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;