]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: modified a catch variable to no longer mask an existing variable in scope... 602/head
authorJasvir Nagra <jasvir@gmail.com>
Fri, 24 Feb 2012 21:57:46 +0000 (13:57 -0800)
committerJasvir Nagra <jasvir@gmail.com>
Fri, 24 Feb 2012 21:57:46 +0000 (13:57 -0800)
ui/jquery.ui.datepicker.js

index 07aeeadd0fe1c1c0adfe88f1ec245bc4c3972f70..2a1699bd10d77bec2c535e7464194d6155d1c0bb 100644 (file)
@@ -620,8 +620,8 @@ $.extend(Datepicker.prototype, {
                                        $.datepicker._updateDatepicker(inst);
                                }
                        }
-                       catch (event) {
-                               $.datepicker.log(event);
+                       catch (err) {
+                               $.datepicker.log(err);
                        }
                }
                return true;