Fix the remaining lint issues

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2019-12-16 19:06:16 +02:00
parent 704c352277
commit b74f0f3969
6 changed files with 22 additions and 10 deletions

View File

@@ -5,6 +5,8 @@
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
/* global moment:false */
var table;
var groups = [];
var token = $("#token").html();
@@ -112,7 +114,7 @@ function initTable() {
{ data: "groups", searchable: false },
{ data: null, width: "80px", orderable: false }
],
drawCallback: function(settings) {
drawCallback: function() {
$(".deleteAdlist").on("click", deleteAdlist);
},
rowCallback: function(row, data) {
@@ -190,7 +192,7 @@ function initTable() {
// Store current state in client's local storage area
localStorage.setItem("groups-adlists-table", JSON.stringify(data));
},
stateLoadCallback: function(settings) {
stateLoadCallback: function() {
// Receive previous state from client's local storage area
var data = localStorage.getItem("groups-adlists-table");
// Return if not available