From 3cfc5b3e71fb648e2985412ce33767f4fe40fad3 Mon Sep 17 00:00:00 2001 From: Bart Date: Wed, 21 Dec 2022 15:57:25 +0100 Subject: [PATCH] Add 'retrieve=true' to fix datatables error dialog As suggested by datatables.net itself --- .../content/jcr_root/apps/groovyconsole/clientlibs/js/audit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui.apps/src/main/content/jcr_root/apps/groovyconsole/clientlibs/js/audit.js b/ui.apps/src/main/content/jcr_root/apps/groovyconsole/clientlibs/js/audit.js index 3a4ed1e4..47409a8f 100644 --- a/ui.apps/src/main/content/jcr_root/apps/groovyconsole/clientlibs/js/audit.js +++ b/ui.apps/src/main/content/jcr_root/apps/groovyconsole/clientlibs/js/audit.js @@ -9,6 +9,7 @@ GroovyConsole.Audit = function () { return { initialize: function () { table = $('.audit').DataTable({ + retrieve: true, ajax: AUDIT_URL, columns: [ { @@ -197,4 +198,4 @@ GroovyConsole.Audit = function () { $(function () { GroovyConsole.Audit.initialize(); GroovyConsole.Audit.initializeDatePicker(); -}); \ No newline at end of file +});