Alexandre Julliard : winetest: Use absolute paths in references.

Alexandre Julliard julliard at winehq.org
Thu Mar 27 14:53:25 CDT 2008


Module: tools
Branch: master
Commit: 6e84065370ff8f90ee0a0103b6d61b7ae1ce5eae
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=6e84065370ff8f90ee0a0103b6d61b7ae1ce5eae

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Mar 27 19:49:28 2008 +0100

winetest: Use absolute paths in references.

---

 winetest/gather     |    4 ++--
 winetest/summary.js |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/winetest/gather b/winetest/gather
index 2226ba1..df2d4b6 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -405,7 +405,7 @@ print OUT <<"EOF";
 <html>
 <head>
   <title>$build</title>
-  <link rel="stylesheet" href="../../summary.css" type="text/css">
+  <link rel="stylesheet" href="/summary.css" type="text/css">
 
   <meta http-equiv="Content-Type"
         content="text/html; charset=ISO-8859-1">
@@ -419,7 +419,7 @@ print OUT <<"EOF";
     <td class="left">
       <a href="/site?testing=prev&amp;current=$build">Previous build</a>
     </td>
-    <td><script type="text/javascript" src="../../summary.js"></script
+    <td><script type="text/javascript" src="/summary.js"></script
         ><noscript><p>JavaScript support missing</p></noscript></td>
     <td class="right">
       <a href="/site?testing=next&amp;current=$build">Next build</a>
diff --git a/winetest/summary.js b/winetest/summary.js
index 13c14cc..44690e3 100644
--- a/winetest/summary.js
+++ b/winetest/summary.js
@@ -2,7 +2,7 @@ result_window = null;
 document.writeln ('<a href="#" onClick="open_popup(); return false;">Open popup</a>');
 
 function open_popup () {
-    result_window = window.open("../../resultform.html","results","width=240,height=240,resizable,scrollbars=no");
+    result_window = window.open("/resultform.html","results","width=240,height=240,resizable,scrollbars=no");
 }
 
 function isopen () {
@@ -24,7 +24,7 @@ function refresh (test, version, tests, todo, errors, skipped) {
 
 function clone () {
     if (isopen ()) {
-        var cw = window.open("../../resultform.html","frozen","width=200,height=140,resizable,scrollbars=no");
+        var cw = window.open("/resultform.html","frozen","width=200,height=140,resizable,scrollbars=no");
         var cf = cw.document.results;
         var rf = result_window.document.results;
         cf.test.value = rf.test.value;




More information about the wine-cvs mailing list