Skip to content

Commit

Permalink
Merge pull request #615 from TauPan/workaround-#614
Browse files Browse the repository at this point in the history
Workaround for #614
  • Loading branch information
vedmack authored Aug 2, 2020
2 parents db502ca + b39f82b commit 9180c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.dataTables.yadcf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4462,7 +4462,7 @@ if (!Object.entries) {
}

function saveTextKeyUpState(oTable, table_selector_jq_friendly, column_number, regex_check_box, null_checked, exclude) {
if (oTable.fnSettings().oFeatures.bStateSave === true && oTable.fnSettings().oLoadedState.yadcfState) {
if (oTable.fnSettings().oFeatures.bStateSave === true && oTable.fnSettings().oLoadedState && oTable.fnSettings().oLoadedState.yadcfState) {
if (oTable.fnSettings().oLoadedState.yadcfState !== undefined && oTable.fnSettings().oLoadedState.yadcfState[table_selector_jq_friendly] !== undefined) {
oTable.fnSettings().oLoadedState.yadcfState[table_selector_jq_friendly][column_number] =
{
Expand Down

0 comments on commit 9180c9f

Please sign in to comment.