aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Hunter2013-06-11 14:48:24 (EDT)
committerMark Macdonald2013-06-11 16:48:35 (EDT)
commit925f97057e3062bef9d985daa04804289dc03c28 (patch)
tree46f3a768b3835dd389468d6faac5ebf96ef04471
parentc2312eb9178159fe16929bf44bd5e20b1bc8aab2 (diff)
downloadorg.eclipse.orion.client-925f97057e3062bef9d985daa04804289dc03c28.zip
org.eclipse.orion.client-925f97057e3062bef9d985daa04804289dc03c28.tar.gz
org.eclipse.orion.client-925f97057e3062bef9d985daa04804289dc03c28.tar.bz2
Bug 410385 If banner/footer toggled away breadcrumb updates are lostv20130611-2048
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
index 155a986..d4b6520 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
@@ -769,13 +769,13 @@ define([
var header = lib.node("banner"); //$NON-NLS-0$
var footer = lib.node("footer"); //$NON-NLS-0$
var content = lib.$(".content-fixedHeight"); //$NON-NLS-0$
- if (header.style.display === "none") { //$NON-NLS-0$
- header.style.display = "block"; //$NON-NLS-0$
- footer.style.display = "block"; //$NON-NLS-0$
+ if (header.style.visibility === "hidden") { //$NON-NLS-0$
+ header.style.visibility = "visible"; //$NON-NLS-0$
+ footer.style.visibility = "visible"; //$NON-NLS-0$
content.classList.remove("content-fixedHeight-maximized"); //$NON-NLS-0$
} else {
- header.style.display = "none"; //$NON-NLS-0$
- footer.style.display = "none"; //$NON-NLS-0$
+ header.style.visibility = "hidden"; //$NON-NLS-0$
+ footer.style.visibility = "hidden"; //$NON-NLS-0$
content.classList.add("content-fixedHeight-maximized"); //$NON-NLS-0$
}
if (editor && editor.getTextView()) {