diff --git a/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml b/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml index 5c2b03495..28cfb7055 100644 --- a/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml +++ b/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml @@ -35,24 +35,21 @@ var conditions = this.search.getSearchConditions(); if(conditions.length) - { for(var i = 0, len = conditions.length; i + @@ -81,6 +78,20 @@ ]]> + + + + + @@ -104,7 +115,7 @@ - + @@ -214,7 +225,7 @@ - + @@ -222,7 +233,7 @@ - + diff --git a/chrome/chromeFiles/content/scholar/itemPane.js b/chrome/chromeFiles/content/scholar/itemPane.js index fae57a867..a3963478d 100644 --- a/chrome/chromeFiles/content/scholar/itemPane.js +++ b/chrome/chromeFiles/content/scholar/itemPane.js @@ -37,6 +37,7 @@ ScholarItemPane = new function() this.viewItem = viewItem; this.loadPane = loadPane; this.changeTypeTo = changeTypeTo; + this.onOpenURLClick = onOpenURLClick; this.addCreatorRow = addCreatorRow; this.removeCreator = removeCreator; this.showEditor = showEditor; @@ -263,6 +264,11 @@ ScholarItemPane = new function() } } + function onOpenURLClick() + { + window.open(Scholar.OpenURL.resolve(_itemBeingEdited)); + } + function addDynamicRow(label, value, beforeElement) { var row = document.createElement("row"); diff --git a/chrome/chromeFiles/content/scholar/itemPane.xul b/chrome/chromeFiles/content/scholar/itemPane.xul index 74705f5bd..eb566da18 100644 --- a/chrome/chromeFiles/content/scholar/itemPane.xul +++ b/chrome/chromeFiles/content/scholar/itemPane.xul @@ -29,9 +29,12 @@ - - - + + + + + + @@ -58,10 +61,10 @@