Skip to content

Commit d7d2759

Browse files
author
chriswarren
committed
caught an errant comma. put it in its place.
1 parent da214fd commit d7d2759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rails_datatables.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def datatable(columns, opts={})
4545
"aoColumns": [
4646
#{formatted_columns(columns)}
4747
],
48-
#{"'fnRowCallback': function( nRow, aData, iDisplayIndex ) { #{row_callback} }" if row_callback},
48+
#{"'fnRowCallback': function( nRow, aData, iDisplayIndex ) { #{row_callback} }," if row_callback}
4949
"fnServerData": function ( sSource, aoData, fnCallback ) {
5050
aoData.push( #{additional_data_string} );
5151
$.getJSON( sSource, aoData, function (json) {

0 commit comments

Comments
 (0)