Module: check_mk
Branch: master
Commit: e3e78a95caf9efacf94ac9cd23a739d0ba54246f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e3e78a95caf9ef…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 19 21:16:27 2018 +0100
Made quicksearch JS code a dedicated module
* Moved the needed utility functions to separate modules
on the way.
* Separated the sidebar JS code from the rest by compiling
a dedicated side_min.js out of side_index.js.
* Some linter cleanups and minor bug fixes on the way
Change-Id: Ia98dbf92ad9385990ddedb2b0aa1bc9955a20350
---
.eslintrc.json | 3 +-
cmk/gui/htmllib.py | 3 +
cmk/gui/plugins/sidebar/quicksearch.py | 7 +-
cmk/gui/sidebar.py | 4 +-
web/htdocs/js/checkmk.js | 135 +--------------------
web/htdocs/js/index.js | 16 ++-
web/htdocs/js/modules/ajax.js | 135 +++++++++++++++++++++
.../js/{search.js => modules/quicksearch.js} | 80 ++++++------
web/htdocs/js/modules/utils.js | 46 +++++++
web/htdocs/js/side_index.js | 40 ++++++
web/htdocs/js/sidebar.js | 16 +--
webpack.config.js | 4 +-
12 files changed, 296 insertions(+), 193 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=e3e78a95ca…