DatePicker not hiding consitently on external click
I have noticed when the datepicker is shown and I click outside of the
document it does not invoke the document.body click.
If I change the if block starting on line 7362 (full unminified jquery-
ui-personalized-1.6rc4.js) to the following it works much better. I
assume this is because I click outside the document body but still
within the document (widescreen etc)
if (!$.datepicker.initialized) {
$(document.body).append($.datepicker.dpDiv);
$(document).mousedown($.datepicker._checkExternalClick);
$.datepicker.initialized = true;
}
//original
if (!$.datepicker.initialized) {
$(document.body).append($.datepicker.dpDiv).
mousedown($.datepicker._checkExternalClick);
$.datepicker.initialized = true;
}