From ef12008b69d903f31584ba239b7bcc1f5687dfd5 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 27 Apr 2016 04:15:09 -0400
Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail

---
 plugins/jqueryui/js/jquery-ui-accessible-datepicker.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js
index ef7561c..38e99e8 100644
--- a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js
+++ b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js
@@ -128,6 +128,8 @@
 					}
 			}
 		})
+		// fix https://bugs.jqueryui.com/ticket/8593
+		.click(function (event) { that._showDatepicker(event); })
 		.attr('autocomplete', 'off');
 	},
 
@@ -177,7 +179,7 @@
 	_hideDatepicker: function(input) {
 		__hideDatepicker.call(this, input);
 
-		var inst = this._curInst;;
+		var inst = this._curInst;
 		if (inst && !$.datepicker._datepickerShowing) {
 			inst.dpDiv.attr('aria-hidden', 'true');
 			$(inst.input).attr('aria-expanded', 'false');

--
Gitblit v1.9.1