diff --git a/chrome/chromeFiles/content/scholar/collectionTreeView.js b/chrome/chromeFiles/content/scholar/collectionTreeView.js
index b1449d2ab4..868a342a8b 100644
--- a/chrome/chromeFiles/content/scholar/collectionTreeView.js
+++ b/chrome/chromeFiles/content/scholar/collectionTreeView.js
@@ -25,6 +25,8 @@ Scholar.CollectionTreeView.prototype.setTree = function(treebox)
if(this._treebox)
return;
this._treebox = treebox;
+ //select Library
+ this.selection.select(0);
}
/*
diff --git a/chrome/chromeFiles/content/scholar/itemPane.js b/chrome/chromeFiles/content/scholar/itemPane.js
index 4b5bc0dc39..5adc28faea 100644
--- a/chrome/chromeFiles/content/scholar/itemPane.js
+++ b/chrome/chromeFiles/content/scholar/itemPane.js
@@ -55,10 +55,7 @@ ScholarItemPane = new function()
* Loads an item
*/
function viewItem(thisItem)
- {
- if(document.commandDispatcher.focusedElement)
- document.commandDispatcher.focusedElement.blur();
-
+ {
_itemBeingEdited = thisItem;
reloadFields();
@@ -257,6 +254,7 @@ ScholarItemPane = new function()
t.setAttribute('value',value);
t.setAttribute('fieldname',fieldName);
t.setAttribute('flex','1');
+ t.className = 'fieldeditor';
var box = elem.parentNode;
box.replaceChild(t,elem);
diff --git a/chrome/chromeFiles/content/scholar/itemPane.xul b/chrome/chromeFiles/content/scholar/itemPane.xul
index c60c8fe124..06c4c64df5 100644
--- a/chrome/chromeFiles/content/scholar/itemPane.xul
+++ b/chrome/chromeFiles/content/scholar/itemPane.xul
@@ -5,7 +5,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
+
diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js
index 1f8b1f9995..5de1a21656 100644
--- a/chrome/chromeFiles/content/scholar/overlay.js
+++ b/chrome/chromeFiles/content/scholar/overlay.js
@@ -34,10 +34,8 @@ var ScholarPane = new function()
//Initialize collections view
collectionsView = new Scholar.CollectionTreeView();
document.getElementById('collections-tree').view = collectionsView;
-
- //select Library
- collectionsView.selection.select(0);
+ /*
if(window.opener)
{
var pane = window.opener.document.getElementById('scholar-pane');
@@ -48,6 +46,7 @@ var ScholarPane = new function()
toggleDisplay();
}
}
+ */
//Create the add menu with each item type
var addMenu = document.getElementById('tb-add').firstChild;
@@ -76,10 +75,10 @@ var ScholarPane = new function()
*/
function toggleDisplay()
{
- var visible = document.getElementById('scholar-pane').getAttribute('collapsed') == 'true';
+ var visible = document.getElementById('scholar-pane').getAttribute('hidden') == 'true';
- document.getElementById('scholar-pane').setAttribute('collapsed',!visible);
- document.getElementById('scholar-splitter').setAttribute('collapsed',!visible);
+ document.getElementById('scholar-pane').setAttribute('hidden',!visible);
+ document.getElementById('scholar-splitter').setAttribute('hidden',!visible);
if(!visible)
document.getElementById('content').setAttribute('collapsed', false);
@@ -89,6 +88,7 @@ var ScholarPane = new function()
{
var visible = document.getElementById('content').getAttribute('collapsed') == 'true';
document.getElementById('content').setAttribute('collapsed', !visible);
+ document.getElementById('scholar-splitter').setAttribute('hidden', !visible);
}
/*
diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul
index 991037d512..c1500e6e98 100644
--- a/chrome/chromeFiles/content/scholar/overlay.xul
+++ b/chrome/chromeFiles/content/scholar/overlay.xul
@@ -15,14 +15,14 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/chrome/chromeFiles/skin/default/scholar/overlay.css b/chrome/chromeFiles/skin/default/scholar/overlay.css
index cad0e887de..342828bc76 100644
--- a/chrome/chromeFiles/skin/default/scholar/overlay.css
+++ b/chrome/chromeFiles/skin/default/scholar/overlay.css
@@ -1,4 +1,4 @@
-vbox #scholar-pane
+#scholar-pane
{
background: #f5f5f5;
min-height: 150px;
@@ -8,7 +8,6 @@ vbox #scholar-pane
#collections-pane
{
min-width: 150px;
- max-width: 200px;
width: 150px;
}
@@ -17,7 +16,7 @@ vbox #scholar-pane
margin-right: 5px;
}
-#scholar-tree-splitter
+#scholar-pane splitter
{
background: #f5f5f5;
}
@@ -60,11 +59,6 @@ vbox #scholar-pane
font-size: larger;
}
-#tb-fullscreen
-{
- list-style-image: url('chrome://scholar/skin/toolbar-fullscreen.png');
-}
-
#tb-collection-add
{
list-style-image: url('chrome://scholar/skin/toolbar-collection-add.png');