diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-08-20 19:38:25 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-08-20 19:38:25 +0300 |
commit | 1c1829a328e3fc51fd2aeb4ccfcb86155305c865 (patch) | |
tree | 954b7ca4a62b688fda51120b56a524c856d817d4 /interface/js/app/rspamd.js | |
parent | def746a5dda265e113940ee13329ad3b45efd187 (diff) | |
download | rspamd-1c1829a328e3fc51fd2aeb4ccfcb86155305c865.tar.gz rspamd-1c1829a328e3fc51fd2aeb4ccfcb86155305c865.zip |
[Minor] WebUI: Use public getSelector() function
Diffstat (limited to 'interface/js/app/rspamd.js')
-rw-r--r-- | interface/js/app/rspamd.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index da22495c5..155a544e1 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -150,6 +150,7 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_ return sessionStorage.getItem("Password"); } + // Get selectors' current state function getSelector(id) { var e = document.getElementById(id); return e.options[e.selectedIndex].value; @@ -375,7 +376,7 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_ tab_history.setup(ui, tables); tab_symbols.setup(ui, tables); tab_upload.setup(ui, tables); - selData = tab_graph.setup(); + selData = tab_graph.setup(ui); }; ui.connect = function () { |