From 5a28385e73afbf799ba83059e5a1b88bdd674b5c Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 9 Jul 2014 11:18:13 +0200 Subject: Fix error when activeCell is not defined --- plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js') 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 1fc30a166..ea4edecb3 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 @@ $.extend($.datepicker, { .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'); -- cgit v1.2.3