diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul index 5642423f5f..b9eb20525d 100644 --- a/chrome/chromeFiles/content/scholar/overlay.xul +++ b/chrome/chromeFiles/content/scholar/overlay.xul @@ -18,7 +18,8 @@ - + diff --git a/chrome/chromeFiles/content/scholar/scholar.js b/chrome/chromeFiles/content/scholar/scholar.js index f2224c19e6..8424f148e7 100644 --- a/chrome/chromeFiles/content/scholar/scholar.js +++ b/chrome/chromeFiles/content/scholar/scholar.js @@ -59,4 +59,10 @@ function deleteSelection() { itemsView.deleteSelection(); } +} + +function search() +{ + //TO DO: reload items tree with a search instead of a root folder + alert(document.getElementById('tb-search').value); } \ No newline at end of file diff --git a/chrome/chromeFiles/content/scholar/scholar.xul b/chrome/chromeFiles/content/scholar/scholar.xul index 263614374d..aa011797f1 100644 --- a/chrome/chromeFiles/content/scholar/scholar.xul +++ b/chrome/chromeFiles/content/scholar/scholar.xul @@ -35,12 +35,14 @@ + + - - + + @@ -54,6 +56,10 @@ + + + + @@ -67,7 +73,7 @@ - + @@ -89,18 +95,16 @@ - + persist="width" flex="1"> + persist="height" flex="1"> + flex="4" persist="width ordinal hidden"/> + flex="1" persist="width ordinal hidden"/> + flex="1" persist="width ordinal hidden"/> @@ -145,20 +148,12 @@ - - - - - - - - - - - - - + + + + +