about summary refs log tree commit diff
path: root/nixos/lib/test-driver/log2html.xsl
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-09-07 15:37:16 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-09-07 15:47:59 +0200
commit8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f (patch)
treea9099670aa88062a23e7514550aaf6391bf8782f /nixos/lib/test-driver/log2html.xsl
parentaf26d5e25b12316f350723a0d9eac3af8ce0baca (diff)
downloadnixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar.gz
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar.bz2
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar.lz
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar.xz
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.tar.zst
nixlib-8e8f95beda59ee25d0c7a7acfc3e211b246a1a8f.zip
nixos/test-reports: use local copy of jquery
The current way test reports get jquery,

  src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"

only works when getting reports over http:// or https://, not file://.
Change it so that it works for all protocols by using a local copy of
jquery.

This fixes the issue where locally created and browsed test reports
cannot be navigated properly; clicking the '+' symbol to expand
sub-sections doesn't work.
Diffstat (limited to 'nixos/lib/test-driver/log2html.xsl')
-rw-r--r--nixos/lib/test-driver/log2html.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/lib/test-driver/log2html.xsl b/nixos/lib/test-driver/log2html.xsl
index ce8a9c6de2b2..0485412b4c8e 100644
--- a/nixos/lib/test-driver/log2html.xsl
+++ b/nixos/lib/test-driver/log2html.xsl
@@ -9,8 +9,8 @@
   <xsl:template match="logfile">
     <html>
       <head>
-        <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
-        <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
+        <script type="text/javascript" src="jquery.min.js"></script>
+        <script type="text/javascript" src="jquery-ui.min.js"></script>
         <script type="text/javascript" src="treebits.js" />
         <link rel="stylesheet" href="logfile.css" type="text/css" />
         <title>Log File</title>