Author: marcus
Date: Tue Dec  4 19:48:22 2018
New Revision: 1848169

URL: http://svn.apache.org/viewvc?rev=1848169&view=rev
Log:
Fixed logic to provide SHA256 links for releases older than 4.1.6, instead of 
SHA512 links which is wrong

Modified:
    openoffice/ooo-site/trunk/content/download/download.js

Modified: openoffice/ooo-site/trunk/content/download/download.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download.js?rev=1848169&r1=1848168&r2=1848169&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/download.js Tue Dec  4 19:48:22 
2018
@@ -946,14 +946,14 @@ DL.getLinkSelection = function() {
                        DL.LINK_CHK_MD5_LP   = DL.ASF_ARC_BASE_URL + 
"/binaries/" + DL.LANG_SEL + "/" + DL.FILENAME_LP   + ".md5";
 
                        document.getElementById( "space3"           ).innerHTML 
= "";
-                       document.getElementById( "dl_f_chk_sha256"  ).href      
= "";
-                       document.getElementById( "dl_f_chk_sha256"  ).innerHTML 
= "";
-                       document.getElementById( "dl_f_chk_sha256"  ).title     
= "";
+                       document.getElementById( "dl_f_chk_sha512"  ).href      
= "";
+                       document.getElementById( "dl_f_chk_sha512"  ).innerHTML 
= "";
+                       document.getElementById( "dl_f_chk_sha512"  ).title     
= "";
 
                        document.getElementById( "space7"           ).innerHTML 
= "";
-                       document.getElementById( "dl_lp_chk_sha256" ).href      
= "";
-                       document.getElementById( "dl_lp_chk_sha256" ).innerHTML 
= "";
-                       document.getElementById( "dl_lp_chk_sha256" ).title     
= "";
+                       document.getElementById( "dl_lp_chk_sha512" ).href      
= "";
+                       document.getElementById( "dl_lp_chk_sha512" ).innerHTML 
= "";
+                       document.getElementById( "dl_lp_chk_sha512" ).title     
= "";
 
                        document.getElementById( "space4"           ).innerHTML 
= " , ";
                        document.getElementById( "dl_f_chk_md5"     ).href      
= DL.LINK_CHK_MD5_FULL;


Reply via email to