fix column visibility if unconfigured / no cookie existing (#423)

This commit is contained in:
Kevin Papst
2018-11-18 02:13:44 +01:00
committed by GitHub
parent a073064900
commit 8cb52e22b1
6 changed files with 39 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ if (typeof jQuery === 'undefined') {
$.datatable = {};
$(function() {
"use strict";
"use strict";
$.datatable = {
saveVisibility: function (modalSelector) {
@@ -30,7 +30,7 @@ $(function() {
function() {
var settings = {};
var cookieName = $(this).attr('name');
$(this).find('input:checkbox:not(:checked)').each(
$(this).find('input:checkbox').each(
function () {
settings[$(this).attr('name')] = $(this).is(':checked');
}