diff options
author | Michal Čihař <michal@cihar.com> | 2017-02-13 17:06:13 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-02-13 17:06:13 +0300 |
commit | dda0d8b69d8d0316ddee81460802c3798e1861a9 (patch) | |
tree | b8bd1ca75424dd461e7234944d252c5dca68f922 /server_status_queries.php | |
parent | 6eede38ac158495a4f13e7d2417cc444e40bd787 (diff) |
Load server stats queries scripts in order
We can not load first script which uses later one.
Fixes #12934
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'server_status_queries.php')
-rw-r--r-- | server_status_queries.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server_status_queries.php b/server_status_queries.php index 8e85be87c6..77014b05a0 100644 --- a/server_status_queries.php +++ b/server_status_queries.php @@ -22,7 +22,6 @@ $serverStatusData = new ServerStatusData(); $response = Response::getInstance(); $header = $response->getHeader(); $scripts = $header->getScripts(); -$scripts->addFile('server_status_queries.js'); // for charting $scripts->addFile('chart.js'); @@ -31,6 +30,7 @@ $scripts->addFile('jqplot/plugins/jqplot.pieRenderer.js'); $scripts->addFile('jqplot/plugins/jqplot.highlighter.js'); $scripts->addFile('jquery/jquery.tablesorter.js'); $scripts->addFile('server_status_sorter.js'); +$scripts->addFile('server_status_queries.js'); // Add the html content to the response $response->addHTML('<div>'); |