Documentation error / type

Documentation error / type

mdiessnermdiessner Posts: 34Questions: 0Answers: 0
edited October 2012 in Bug reports
There is a type on this page / documentation:

http://datatables.net/extras/tabletools/initialisation

[quote]
"fnRowSelected": function ( node ) {
alert( 'The row with ID '+node.id'+ was selected' );
}
[/quote]

should be

[code]
"fnRowSelected": function ( node ) {
alert( 'The row with ID '+node.id+' was selected' );
}
[/code]

The mistake is in the alert statement where the last string is incorrectly concatenated.

Inexperienced users will copy and paste and wonder why it's not working.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Thank you :-). Now fixed.

    Allan
  • mdiessnermdiessner Posts: 34Questions: 0Answers: 0
    Hi Allan,

    Found another small typo:

    http://datatables.net/plug-ins/sorting

    In the H3:
    How to use DataTables plug-in sorting functions functions (type based)

    word "functions" is repeated twice. Should read:

    How to use DataTables plug-in sorting functions (type based)

    Hope you don't mind me telling you.

    Cheers
    Martin
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hah - no of course I don't! I'd much rather any errors are pointed out so I can fix them.

    I can't fix this one immediately as I'm traveling at the moment, but I will do so when I return.

    Allan
This discussion has been closed.