Closed benjamingranados closed 10 years ago
I also had to replace this in line 2363 :/
With:
/* Drop the print message */ $(".DTTT_PrintMessage").remove();
I think it's me but now it's working. I don't know why I couldn't get it working before :S
Nice one - thanks for spotting that and letting me know!
My TableTools 2.2.0 was not leaving me print a custom Message (you know, the sMessage option), so I dig into the code and I found that in line 2,314, in the following section:
if ( oConfig.sMessage ) { $('
') .addClass( this.classes.print.message ) .html( oConfig.sMessage ) .prepend( 'body' ); }I needed to add .prependTo instead of .prepend to get it working. Don't know if is an error but I wanted to share the issue.