You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2021/03/21 19:23:58 UTC

[openoffice-org] branch main updated: Set special version value when 'Older releases' was selected

This is an automated email from the ASF dual-hosted git repository.

marcus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git


The following commit(s) were added to refs/heads/main by this push:
     new dbe7992  Set special version value when 'Older releases' was selected
     new c59dc7d  Merge branch 'main' of https://gitbox.apache.org/repos/asf/openoffice-org into main
dbe7992 is described below

commit dbe79925c476aa7cca1aa145497b046cc6ce8829
Author: Marcus <ma...@apache.org>
AuthorDate: Sun Mar 21 20:11:41 2021 +0100

    Set special version value when 'Older releases' was selected
---
 assets/download/download.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/assets/download/download.js b/assets/download/download.js
index d562f1f..1f4487d 100644
--- a/assets/download/download.js
+++ b/assets/download/download.js
@@ -522,6 +522,11 @@ DL.getVersionSelection = function() {
 			DL.VERSION_SEL = version_value;
 			break;
 		}
+
+		if( version_value === "older" ) {
+			DL.VERSION_SEL = version_value;
+			break;
+		}
 	}
 
 	// Get the version number without dots (e.g., "413" instead of "4.1.3").