1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00
DataTables/examples/resources
Allan Jardine 1effb64cfa Fixed event handlers in table headers in IE8
On line 605, column.sTitle is set to the TH's innerHTML.
On line 1816, column.sTitle is compared with cell.html().

If you have child elements with event handlers on them inside the TH, these are not the same in IE8 (see https://gist.github.com/simonbrent/933e552739477f4be3ab#file-test-html)

As a result, the check on 1816 fails, the contents of the cell is replaced, and the event handlers are removed.

Comparing instead with cell[0].innerHTML fixes this issue.
2015-06-10 09:45:55 +01:00
..
syntax Dev: Don't syntax highlight in IE6/7 as it slows them down hugely 2015-04-30 14:01:36 +01:00
demo.css Fix examples: Example pages styling updated to work better when operating with Bootstrap and Foundation styled table examples 2015-05-06 11:28:52 +01:00
demo.js Fixed event handlers in table headers in IE8 2015-06-10 09:45:55 +01:00
details_close.png Fix: Image file size optimisation. 2014-12-16 15:24:05 +00:00
details_open.png Fix: Image file size optimisation. 2014-12-16 15:24:05 +00:00
examples.php Examples: Add latest example files from the src repo 2014-02-04 10:54:36 +00:00