Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.help.webapp/advanced/contentActions.js16
-rw-r--r--org.eclipse.help.webapp/advanced/navActions.js12
-rw-r--r--org.eclipse.help.webapp/advanced/toolbar.jsp2
3 files changed, 15 insertions, 15 deletions
diff --git a/org.eclipse.help.webapp/advanced/contentActions.js b/org.eclipse.help.webapp/advanced/contentActions.js
index 91a072fbe..9db3dbc85 100644
--- a/org.eclipse.help.webapp/advanced/contentActions.js
+++ b/org.eclipse.help.webapp/advanced/contentActions.js
@@ -16,14 +16,14 @@ var navVisible = true;
function goBack(button, param) {
parent.history.back();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
function goForward(button, param) {
parent.history.forward();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -49,7 +49,7 @@ function goHome(button, param) {
parent.ContentViewFrame.location = param;
}
parent.parent.NavFrame.collapseToc();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -78,7 +78,7 @@ function bookmarkPage(button, param)
/********** HARD CODED VIEW NAME *************/
parent.parent.NavFrame.ViewsFrame.bookmarks.bookmarksViewFrame.location.replace("bookmarksView.jsp?operation=add&bookmark="+encodeURIComponent(url)+"&title="+encodeURIComponent(title));
}catch (e) {}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -107,7 +107,7 @@ function bookmarkInfocenterPage(button, param)
/********** HARD CODED VIEW NAME *************/
window.external.AddFavorite(parent.ContentViewFrame.location.href,title);
}catch (e) {}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -127,7 +127,7 @@ function resynch(button, param)
try {
parent.parent.NavFrame.displayTocFor(getCurrentTopic(), false);
} catch(e) {}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -151,7 +151,7 @@ function toggleHighlight(button, param)
document.cookie = document.cookie = "highlight="+highlight+"; expires="+date.toGMTString() + ";path=/";;
} catch(e) {}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -162,7 +162,7 @@ function printContent(button, param)
parent.ContentViewFrame.focus();
parent.ContentViewFrame.print();
} catch(e) {}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
diff --git a/org.eclipse.help.webapp/advanced/navActions.js b/org.eclipse.help.webapp/advanced/navActions.js
index dc60be1ff..d0c55a460 100644
--- a/org.eclipse.help.webapp/advanced/navActions.js
+++ b/org.eclipse.help.webapp/advanced/navActions.js
@@ -28,21 +28,21 @@ function toggleAutosynch(button) {
function toggleShowAll(button){
window.parent.parent.toggleShowAll();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
function toggleShowCategories(button){
parent.searchViewFrame.toggleShowCategories();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
function toggleShowDescriptions(button){
parent.searchViewFrame.toggleShowDescriptions();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -52,7 +52,7 @@ function removeBookmark(button){
parent.bookmarksViewFrame.removeBookmark();
} catch(e){
}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -62,7 +62,7 @@ function removeAllBookmarks(button){
parent.bookmarksViewFrame.removeAllBookmarks();
} catch(e){
}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
@@ -101,7 +101,7 @@ function collapseAll(button) {
parent.tocViewFrame.collapseAll();
} catch(e){
}
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp
index 35b0a73df..4a105434a 100644
--- a/org.eclipse.help.webapp/advanced/toolbar.jsp
+++ b/org.eclipse.help.webapp/advanced/toolbar.jsp
@@ -199,7 +199,7 @@ function mouseDblClickHandler(e) {
function restore_maximize(button)
{
toggleFrame();
- if (isIE && button && document.getElementById(button)){
+ if (button && document.getElementById(button)){
document.getElementById(button).blur();
}
}

Back to the top