jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r180310 - in /incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp: docroot/js/server_call.js index.jsp
Date Mon, 06 Jun 2005 13:39:10 GMT
Author: tripod
Date: Mon Jun  6 06:39:10 2005
New Revision: 180310

URL: http://svn.apache.org/viewcvs?rev=180310&view=rev
Log:
- fixing javascript issues

Modified:
    incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/docroot/js/server_call.js
    incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/index.jsp

Modified: incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/docroot/js/server_call.js
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/docroot/js/server_call.js?rev=180310&r1=180309&r2=180310&view=diff
==============================================================================
--- incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/docroot/js/server_call.js
(original)
+++ incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/docroot/js/server_call.js
Mon Jun  6 06:39:10 2005
@@ -26,8 +26,8 @@
 
 function excludeListIsUpToDate(url) {
     var tester = new Image();
-    tester.onload = isUpToDate;
-    tester.onerror = isOutOfDate;
+    tester.onload = isOutOfDate;
+    tester.onerror = isUpToDate;
     tester.src = url;
 }
 

Modified: incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/index.jsp?rev=180310&r1=180309&r2=180310&view=diff
==============================================================================
--- incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/index.jsp (original)
+++ incubator/jackrabbit/branches/ri-1.0/contrib/tck-webapp/src/webapp/index.jsp Mon Jun 
6 06:39:10 2005
@@ -154,7 +154,7 @@
             img.src = "docroot/imgs/green.png";
             img.setAttribute("title", "The Tck web application is up to date.");
             // tell server that a check got performed (perform in 24h again)
-            if (!doNotTell) {
+            if (doNotTell != true) {
                 tellChecked(<%= currentTime %>, true);
             }
         }
@@ -167,7 +167,7 @@
             link.setAttribute("href", "<%= RepositoryServlet.getTckUpdateUrl() %>");
             link.setAttribute("target", "_new");
             // tell server that a check got performed (perform in 24h again)
-            if (!doNotTell) {
+            if (doNotTell != true) {
                 tellChecked(<%= currentTime %>, false);
             }
         }
@@ -185,8 +185,8 @@
             <%
             if (checkIt) {%>
                 var tester = new Image();
-                tester.onload = setGreen;
-                tester.onerror = setRed;
+                tester.onload = setRed;
+                tester.onerror = setGreen;
                 tester.src = checkerurl;
                 <%
             } else {



Mime
View raw message