incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1333113 - /incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
Date Wed, 02 May 2012 17:12:34 GMT
Author: kschenk
Date: Wed May  2 17:12:33 2012
New Revision: 1333113

URL: http://svn.apache.org/viewvc?rev=1333113&view=rev
Log:
kls -- still trying to prevent odd redirect from edited link

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html

Modified: incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html?rev=1333113&r1=1333112&r2=1333113&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html Wed May  2 17:12:33
2012
@@ -61,11 +61,11 @@
   } else {
 	  <!-- dump SF extension -->
 	  alert("link before replacment: " + LINK);
-	  LINK = LINK.replace(/\/download$/,"");
-	  alert ("link after replacment: " + LINK);
+	  var newLINK = LINK.replace(/\/download$/,"");
+	  alert ("link after replacment: " + newLINK);
 	  <!-- route everybody to somplace else ??? -->
-    document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download
Apache OpenOffice</a></h2>"
-    + "<p><a href='" + LINK + "' title='" + LINK + "'>Get Apache OpenOffice for
" + getLanguage()
+    document.write( "<h2><a href='" + newLINK + "' title='" + newLINK + "'>Download
Apache OpenOffice</a></h2>"
+    + "<p><a href='" + newLINK + "' title='" + newLINK + "'>Get Apache OpenOffice
for " + getLanguage()
     + " from a Native Language community area.</a></p>" );
   }
   



Mime
View raw message