1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Allan Jardine
bc23e4ccae Fix: When replacing child row information, detach the element rather than removing which would destroy the event handlers. A remove action will still call $().remove() to clean up any event handlers.
- Thread 38093
2016-12-02 17:58:11 +00:00
Allan Jardine
369214c777 Fix - examples: Write the code to be displayed in the server load code tab as text so any HTML entities will be escaped 2015-11-06 10:40:22 +00:00
Allan Jardine
13c3a5400e Dev: Don't just jQuery code if jQuery hasn't been loaded (example index pages) 2015-08-12 19:48:50 +01:00
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
Allan Jardine
07bed19ed7 Fix examples: Demo script needs to check for the dt namespace on events triggered by DataTables 2015-04-03 12:22:10 +01:00
Allan Jardine
5c919423c1 Fix - docs: dt-api row().child() notes that className is not added to pre-existing node 2015-04-03 12:21:27 +01:00
Allan Jardine
294a32f8d0 Fix docs: Add reference to dt-init columns.orderSequence from dt-init order 2015-04-03 09:50:06 +01:00
Allan Jardine
71535def21 Fix examples: Server-side processing examples didn't correctly show the Ajax data after the first draw 2015-02-06 16:35:12 +00:00
Allan Jardine
24b2d11460 Dev: Show language name in code highlighting 2014-12-04 12:23:12 +00:00
Allan Jardine
13c766d1de Fix: Example JS should use min-height for info content 2014-03-07 11:47:17 +00:00
Allan Jardine
0f49d95f99 Dev: Update demo css and js for Editor 1.10 integration 2014-02-14 16:01:51 +00:00
Allan Jardine
635f35a63b Merge branch 'master' of github.com:DataTables/DataTablesSrc 2014-02-04 10:44:23 +00:00
Allan Jardine
88c7044373 Site: Fix links 2014-02-04 10:44:10 +00:00
Allan Jardine
2d7517808a Dev fix: Fix error on example index pages 2014-02-04 10:43:44 +00:00
Allan Jardine
5449eaebf3 Dev: Demo JS can now run with DataTables 1.9 2014-01-31 13:27:42 +00:00
Allan Jardine
246eb55849 Site: Updates based on feedback from tangerine 2014-01-17 16:45:14 +00:00
Allan Jardine
75d9800522 Site: Correct documentation for ajax and small updates for site 2013-12-19 14:04:14 +00:00
Allan Jardine
43400684a4 Site: Updates based on my work for the DataTables site. Mostly minor
changes to styling, naming or docs fixes
2013-12-19 14:03:24 +00:00
Allan Jardine
cf8f008a4d Dev - examples: Update the example code to take account of the event
changes from: ae0951b, 694f129 and 1f561e3
2013-11-18 11:46:27 +00:00
Allan Jardine
7bec74c02f New - examples: Examples updated and restyled for DataTables 1.10
- Additional information and better layout for examples. See the src
  repo for more information.
2013-10-16 12:13:30 +01:00