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/04/04 10:53:58 UTC

[openoffice-org] 03/06: Platform hints: Changed from tooltip to separate browser window

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

commit 4551b23ff909395b5a5295fa5316ecd2569a9ca8
Author: Marcus <ma...@apache.org>
AuthorDate: Sun Apr 4 12:48:51 2021 +0200

    Platform hints: Changed from tooltip to separate browser window
---
 assets/download/boxed_download.js | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/assets/download/boxed_download.js b/assets/download/boxed_download.js
index bf35ba6..befea37 100644
--- a/assets/download/boxed_download.js
+++ b/assets/download/boxed_download.js
@@ -36,12 +36,7 @@ DL.createDownloadBox = function() {
       + "<select class='sel-version' id='version' name='version' onchange='DL.getLinkSelection()'"
         + "title='" + l10n.dl_green_box_selectbox_ver_title  + "'>"
       + "</select>"
-/*
-    // Platform info text.
-    + "<a id='platform_info'>"
-      + ""
-    + "</a>"
-*/
+
     + "</form>"
 
     // Both download text buttons: First (left) for "full install", then (right) for "langpack".
@@ -67,7 +62,8 @@ DL.createDownloadBox = function() {
     + "<div style='margin: 0px 0px 0px 3%;'>"
       + "<div class='btn_hint_text' style='display: inline-block;'>"
         + "<h3>"
-          + "<a id='platform_info' target='_blank'></a>"
+//        + "<a id='platform_info' target='_blank'></a>"
+          + "<a id='platform_info' target='_blank' onclick='DL.showWindow( this.href ); return false;'></a>"
         + "</h3>"
       + "</div>"
     + "</div>"