mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-17 15:54:14 +01:00
Dev: Remove debug
This commit is contained in:
parent
4cb532ad95
commit
dc0fffa316
@ -1 +1 @@
|
|||||||
2fb2b00cc5c993827c36bc0bd768e96861c31e9c
|
67966e5b14927fa57bd3aedf7bc9c1c724b909d3
|
||||||
|
@ -10,10 +10,6 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
|
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
|
||||||
<style type="text/css" class="init">
|
<style type="text/css" class="init">
|
||||||
|
|
||||||
tr.red { background-color: red !important; }
|
|
||||||
tr.blue { background-color: blue !important; }
|
|
||||||
tr.green { background-color: green !important; }
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
|
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
|
||||||
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
|
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
|
||||||
@ -558,9 +554,7 @@ $(document).ready(function() {
|
|||||||
<div>
|
<div>
|
||||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library
|
<p>This example uses a little bit of additional CSS beyond what is loaded from the library
|
||||||
files (below), in order to correctly display the table. The additional CSS used is shown
|
files (below), in order to correctly display the table. The additional CSS used is shown
|
||||||
below:</p><code class="multiline brush: js;">tr.red { background-color: red !important; }
|
below:</p><code class="multiline brush: js;"></code>
|
||||||
tr.blue { background-color: blue !important; }
|
|
||||||
tr.green { background-color: green !important; }</code>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the
|
<p>The following CSS library files are loaded for use in this example to provide the styling of the
|
||||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -1540,7 +1540,6 @@
|
|||||||
tr.id = data.DT_RowId;
|
tr.id = data.DT_RowId;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log( '_fnRowAttributes', row, data.DT_RowClass );
|
|
||||||
if ( data.DT_RowClass ) {
|
if ( data.DT_RowClass ) {
|
||||||
// Remove any classes added by DT_RowClass before
|
// Remove any classes added by DT_RowClass before
|
||||||
var a = data.DT_RowClass.split(' ');
|
var a = data.DT_RowClass.split(' ');
|
||||||
@ -1548,7 +1547,6 @@
|
|||||||
_unique( row.__rowc.concat( a ) ) :
|
_unique( row.__rowc.concat( a ) ) :
|
||||||
a;
|
a;
|
||||||
|
|
||||||
console.log( row.__rowc );
|
|
||||||
$(tr)
|
$(tr)
|
||||||
.removeClass( row.__rowc.join(' ') )
|
.removeClass( row.__rowc.join(' ') )
|
||||||
.addClass( data.DT_RowClass );
|
.addClass( data.DT_RowClass );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user