mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-18 16:54:14 +01:00
Docs: Fix - fnStateSaveParams refered to fnStateLoadParams in the example code - 8408
This commit is contained in:
parent
5907eb4639
commit
68975aff10
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -8599,7 +8599,7 @@
|
||||
* $(document).ready(function() {
|
||||
* $('#example').dataTable( {
|
||||
* "bStateSave": true,
|
||||
* "fnStateLoadParams": function (oSettings, oData) {
|
||||
* "fnStateSaveParams": function (oSettings, oData) {
|
||||
* oData.oFilter.sSearch = "";
|
||||
* } );
|
||||
* } );
|
||||
|
@ -1122,7 +1122,7 @@ DataTable.defaults = {
|
||||
* $(document).ready(function() {
|
||||
* $('#example').dataTable( {
|
||||
* "bStateSave": true,
|
||||
* "fnStateLoadParams": function (oSettings, oData) {
|
||||
* "fnStateSaveParams": function (oSettings, oData) {
|
||||
* oData.oFilter.sSearch = "";
|
||||
* } );
|
||||
* } );
|
||||
|
Loading…
x
Reference in New Issue
Block a user