Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Kolosowski2003-01-23 23:59:24 +0000
committerKonrad Kolosowski2003-01-23 23:59:24 +0000
commitace1745e6b6456fce5e53c2f9a60c1bbc6880685 (patch)
treec0a6499fb6abad35b0e5128e2b2328a9cc826ec0 /org.eclipse.help.webapp/advanced/toolbar.jsp
parent49c40f6b2edd1d90b2fca7b6ceeef6ea3dfeacce (diff)
downloadeclipse.platform.ua-ace1745e6b6456fce5e53c2f9a60c1bbc6880685.tar.gz
eclipse.platform.ua-ace1745e6b6456fce5e53c2f9a60c1bbc6880685.tar.xz
eclipse.platform.ua-ace1745e6b6456fce5e53c2f9a60c1bbc6880685.zip
unnecessary tab stop
Diffstat (limited to 'org.eclipse.help.webapp/advanced/toolbar.jsp')
-rw-r--r--org.eclipse.help.webapp/advanced/toolbar.jsp14
1 files changed, 12 insertions, 2 deletions
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp
index 7be39aac2..131a8c092 100644
--- a/org.eclipse.help.webapp/advanced/toolbar.jsp
+++ b/org.eclipse.help.webapp/advanced/toolbar.jsp
@@ -155,7 +155,18 @@ if (data.getScript() != null) {
</head>
-<body>
+<%
+ToolbarButton[] buttons = data.getButtons();
+if(buttons.length > 0){
+%>
+ <body>
+<%
+}else{
+%>
+ <body tabIndex="-1">
+<%
+}
+%>
<div id="textLayer" style="position:absolute; z-index:1; left:0; top:0; height:100%; width:100%;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="padding-left:5px;">
<tr>
@@ -184,7 +195,6 @@ if (data.getScript() != null) {
<table border="0" cellspacing="0" cellpadding="0" height="100%" style="background:<%=prefs.getToolbarBackground()%>">
<tr>
<%
- ToolbarButton[] buttons = data.getButtons();
for (int i=0; i<buttons.length; i++) {
if (buttons[i].isSeparator()) {
%>

Back to the top