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

This commit is contained in:
Jasvir Nagra 2012-02-24 13:57:46 -08:00
parent b6e1f25ab8
commit 367da95ba5

View File

@ -620,8 +620,8 @@ $.extend(Datepicker.prototype, {
$.datepicker._updateDatepicker(inst);
}
}
catch (event) {
$.datepicker.log(event);
catch (err) {
$.datepicker.log(err);
}
}
return true;