Fix error when activeCell is not defined
| | |
| | | .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'); |
| | | |
| | |
| | | .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'); |
| | | |