1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-30 23:52:11 +01:00

Merge branch 'master' of github.com:DataTables/DataTablesSrc

This commit is contained in:
Allan Jardine 2014-05-30 11:10:36 +01:00
parent c1e40d7e10
commit 3fd28eba98
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
8e0c42d11e7b01357fba211df1ad84f83d699550
f579ac0e66e86bfa4caf54e0efcff2fbbfb2cb7f

View File

@ -66,7 +66,7 @@ $(document).ready(function() {
// Add event listener for opening and closing details
$('#example tbody').on('click', 'td.details-control', function () {
var tr = $(this).parents('tr');
var tr = $(this).closest('tr');
var row = table.row( tr );
if ( row.child.isShown() ) {
@ -180,7 +180,7 @@ $(document).ready(function() {
// Add event listener for opening and closing details
$('#example tbody').on('click', 'td.details-control', function () {
var tr = $(this).parents('tr');
var tr = $(this).closest('tr');
var row = table.row( tr );
if ( row.child.isShown() ) {

View File

@ -57,7 +57,7 @@ $(document).ready(function() {
var detailRows = [];
$('#example tbody').on( 'click', 'tr td:first-child', function () {
var tr = $(this).parents('tr');
var tr = $(this).closest('tr');
var row = dt.row( tr );
var idx = $.inArray( tr.attr('id'), detailRows );
@ -188,7 +188,7 @@ $(document).ready(function() {
var detailRows = [];
$('#example tbody').on( 'click', 'tr td:first-child', function () {
var tr = $(this).parents('tr');
var tr = $(this).closest('tr');
var row = dt.row( tr );
var idx = $.inArray( tr.attr('id'), detailRows );