summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAnthony Hunter2013-06-11 14:48:24 (EDT)
committer Mark Macdonald2013-06-11 16:48:35 (EDT)
commitb825f59086f04ae778cd464fab5cb82e09af3b2d (patch)
tree46f3a768b3835dd389468d6faac5ebf96ef04471
parented3d20bc80bc8a08d22f6eadaaa1789c53ac6000 (diff)
downloadorg.eclipse.orion.client-b825f59086f04ae778cd464fab5cb82e09af3b2d.zip
org.eclipse.orion.client-b825f59086f04ae778cd464fab5cb82e09af3b2d.tar.gz
org.eclipse.orion.client-b825f59086f04ae778cd464fab5cb82e09af3b2d.tar.bz2
Bug 410385 If banner/footer toggled away breadcrumb updates are lost
-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()) {