From 848e204ef9bdaf989e7e48025d4ea6ee21e7678e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 13 Sep 2014 06:36:54 -0400
Subject: [PATCH] Fix validation of email addresses with IDNA domains (#1490067)

---
 plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js
index 1fc30a1..ea4edec 100755
--- a/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js
+++ b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js
@@ -208,7 +208,7 @@
 			.attr('tabindex', inst.inline ? '0' : '-1')
 			.attr('role', 'grid')
 			.attr('aria-readonly', 'true')
-			.attr('aria-activedescendant', activeCell.attr('id') || '')
+			.attr('aria-activedescendant', activeCell ? activeCell.attr('id') : '')
 			.find('td').attr('role', 'gridcell').attr('aria-selected', 'false')
 			.find('a').attr('tabindex', '-1');
 

--
Gitblit v1.9.1