mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Merge branch 'master' of https://github.com/zeitiger/DataTables
Add requested changes
This commit is contained in:
commit
8efdd92a46
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -631,6 +631,7 @@
|
||||
*/
|
||||
function _fnAddTr( oSettings, trs )
|
||||
{
|
||||
var fnTrimTD = oSettings.fnTrimTD || function(td) { return $.trim(td.innerHTML); };
|
||||
// Allow an individual node to be passed in
|
||||
if ( ! trs instanceof $ ) {
|
||||
trs = $(trs);
|
||||
@ -648,7 +649,7 @@
|
||||
name = td.nodeName.toUpperCase();
|
||||
if ( name == "TD" || name == "TH" )
|
||||
{
|
||||
d.push( $.trim(td.innerHTML) );
|
||||
d.push( fnTrimTD(td) );
|
||||
tds.push( td );
|
||||
}
|
||||
td = td.nextSibling;
|
||||
@ -2155,7 +2156,7 @@
|
||||
nFilter._DT_Input = jqFilter[0];
|
||||
|
||||
jqFilter.val( oPreviousSearch.sSearch.replace('"','"') );
|
||||
jqFilter.bind( 'keyup.DT search', function(e) {
|
||||
jqFilter.bind( 'keyup.DT search.DT', function(e) {
|
||||
/* Update all other filter input elements for the new display */
|
||||
var n = oSettings.aanFeatures.f;
|
||||
var val = this.value==="" ? "" : this.value; // mental IE8 fix :-(
|
||||
|
@ -29,7 +29,7 @@ function _fnFeatureHtmlFilter ( oSettings )
|
||||
nFilter._DT_Input = jqFilter[0];
|
||||
|
||||
jqFilter.val( oPreviousSearch.sSearch.replace('"','"') );
|
||||
jqFilter.bind( 'keyup.DT search', function(e) {
|
||||
jqFilter.bind( 'keyup.DT search.DT', function(e) {
|
||||
/* Update all other filter input elements for the new display */
|
||||
var n = oSettings.aanFeatures.f;
|
||||
var val = this.value==="" ? "" : this.value; // mental IE8 fix :-(
|
||||
|
Loading…
Reference in New Issue
Block a user