Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Kolosowski2004-06-08 19:50:16 +0000
committerKonrad Kolosowski2004-06-08 19:50:16 +0000
commit785cd3d16cd8427922d736c69ea7537f517e959a (patch)
treea6cbf89079ae7fe827fa223988feb133f91917f8 /org.eclipse.help.webapp/advanced/toolbar.jsp
parent2f4d3759f77e68d9dd2aa070604eb44015c98f44 (diff)
downloadeclipse.platform.ua-785cd3d16cd8427922d736c69ea7537f517e959a.tar.gz
eclipse.platform.ua-785cd3d16cd8427922d736c69ea7537f517e959a.tar.xz
eclipse.platform.ua-785cd3d16cd8427922d736c69ea7537f517e959a.zip
66161 Maximize and Restore buttons not visible on Macv20040608
Diffstat (limited to 'org.eclipse.help.webapp/advanced/toolbar.jsp')
-rw-r--r--org.eclipse.help.webapp/advanced/toolbar.jsp6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp
index 59bb1e2f3..2c608a831 100644
--- a/org.eclipse.help.webapp/advanced/toolbar.jsp
+++ b/org.eclipse.help.webapp/advanced/toolbar.jsp
@@ -143,7 +143,9 @@ function setTitle(label)
text.nodeValue = label;
}
-<% if (data.isIE() || data.isMozilla() && "1.2.1".compareTo(data.getMozillaVersion()) <=0){
+<% if (data.isIE()
+ || data.isMozilla() && "1.2.1".compareTo(data.getMozillaVersion()) <=0
+ || (data.isSafari() && "120".compareTo(data.getSafariVersion()) <= 0) ){
%>
function registerMaximizedChangedListener(){
// get to the frameset
@@ -200,7 +202,7 @@ function maximizedChanged(maximizedNotRestored){
}
}
-<%=data.isIE()?
+<%=( data.isIE() || data.isSafari() )?
"document.ondblclick = mouseDblClickHandler;"
:
"document.addEventListener('dblclick', mouseDblClickHandler, true);"%>

Back to the top