From 539178291d2a51bfa42a7d604c440a6c813bdf89 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Fri, 4 Jul 2008 10:32:41 +0000 Subject: [PATCH] datepicker: stop propagation on the button triggering the datepicker (fixes #3047) --- ui/ui.datepicker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 97a1c8046..3f8cb216d 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -347,6 +347,8 @@ $.extend(Datepicker.prototype, { $.datepicker._hideDatepicker(); else $.datepicker._showDatepicker(target); + + return false; }); } input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress) -- 2.39.5