aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/main.js
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-31 16:57:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-31 16:57:53 +0000
commitb25099829038578d12d5406716847bc630e418a7 (patch)
treec93bda0e1391a5c4a30b5eb1203aad9e38cda2b5 /interface/js/main.js
parent44a97d4993c03ba868b1e7d70b4a1351ecca7732 (diff)
downloadrspamd-b25099829038578d12d5406716847bc630e418a7.tar.gz
rspamd-b25099829038578d12d5406716847bc630e418a7.zip
[WebUI] Fix retarded datatables
Diffstat (limited to 'interface/js/main.js')
-rw-r--r--interface/js/main.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/interface/js/main.js b/interface/js/main.js
index 0611229af..c2f9da983 100644
--- a/interface/js/main.js
+++ b/interface/js/main.js
@@ -10,14 +10,19 @@ requirejs.config({
d3evolution: 'd3evolution.min',
d3pie: 'd3pie.min',
datatables: 'datatables.min',
- bootstrap: 'bootstrap.min'
+ bootstrap: 'bootstrap.min',
},
shim: {
d3: {exports: 'd3'},
bootstrap: {exports: 'bootstrap', deps: ['jquery']},
d3pie: {exports: 'd3pie', deps: ['d3', 'jquery']},
d3evolution: {exports: 'D3Evolution', deps: ['d3', 'd3pie', 'jquery']},
- datatables: {deps: ['bootstrap','jquery']},
+ datatables: {deps: ['bootstrap', 'jquery']},
+ },
+ map: {
+ '*': {
+ 'datatables.net': 'datatables',
+ }
}
});