Skip to content

Commit

Permalink
Removes bStateSave=true
Browse files Browse the repository at this point in the history
This ends up playing havoc with development of table options, especially since it makes the main datatables.js appear to completely ignore an iteration of settings.

Please modify your global $.fn.dataTable.defaults or use a common ``confirm_datatable_options()`` function to set the "bStateSave: true" option.
  • Loading branch information
tiliv committed Sep 4, 2013
1 parent c105abd commit cead2b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion datatableview/static/js/datatableview.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ $(function(){

options = {
"bServerSide": true,
"bStateSave": true,
"aaSorting": sorting_options,
"aoColumns": column_options,
"sAjaxSource": datatable.attr('data-source-url'),
Expand Down
2 changes: 1 addition & 1 deletion datatableview/static/js/datatableview.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cead2b8

Please sign in to comment.