fnDestroy does not remove all jQuery UI markup.. fix

fnDestroy does not remove all jQuery UI markup.. fix

vyshakhvyshakh Posts: 2Questions: 0Answers: 0
edited December 2011 in Bug reports
Line num

2216 - $('th', oSettings.nTHead).removeClass( [ _oExt.oStdClasses.sSortable,
2216 + $('th, td', oSettings.nTHead).removeClass( [ _oExt.oStdClasses.sSortable,


2221 - $('th span.'+_oExt.oJUIClasses.sSortIcon, oSettings.nTHead).remove();
2221 + $('th span.'+_oExt.oJUIClasses.sSortIcon
2222 +
2222 + ', td span.'+_oExt.oJUIClasses.sSortIcon, oSettings.nTHead).remove();


2224 - $('th', oSettings.nTHead).each( function () {
2224 +

Replies

  • allanallan Posts: 63,383Questions: 1Answers: 10,449 Site admin
    Good catch - thanks! The 1.9 beta had most of this, but not all! I've just committed the required changes and the nightly now contains the changes: http://datatables.net/download/

    Regards,
    Allan
This discussion has been closed.