diff --git a/chrome/chromeFiles/content/scholar/customControls.xml b/chrome/chromeFiles/content/scholar/customControls.xml
index 836a6b584d..d69c1eaee6 100644
--- a/chrome/chromeFiles/content/scholar/customControls.xml
+++ b/chrome/chromeFiles/content/scholar/customControls.xml
@@ -125,7 +125,7 @@
-
+
diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js
index 2e5d4b630d..1f8b1f9995 100644
--- a/chrome/chromeFiles/content/scholar/overlay.js
+++ b/chrome/chromeFiles/content/scholar/overlay.js
@@ -11,6 +11,7 @@ var ScholarPane = new function()
this.onLoad = onLoad;
this.onUnload = onUnload;
this.toggleDisplay = toggleDisplay;
+ this.fullScreen = fullScreen;
this.newItem = newItem;
this.newCollection = newCollection;
this.onCollectionSelected = onCollectionSelected;
@@ -79,6 +80,15 @@ var ScholarPane = new function()
document.getElementById('scholar-pane').setAttribute('collapsed',!visible);
document.getElementById('scholar-splitter').setAttribute('collapsed',!visible);
+
+ if(!visible)
+ document.getElementById('content').setAttribute('collapsed', false);
+ }
+
+ function fullScreen()
+ {
+ var visible = document.getElementById('content').getAttribute('collapsed') == 'true';
+ document.getElementById('content').setAttribute('collapsed', !visible);
}
/*
diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul
index 0b61f8614f..abfe9376bf 100644
--- a/chrome/chromeFiles/content/scholar/overlay.xul
+++ b/chrome/chromeFiles/content/scholar/overlay.xul
@@ -21,7 +21,7 @@
-
+