diff --git a/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml b/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml index 04dc13c475..b8b7662c96 100644 --- a/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml +++ b/chrome/chromeFiles/content/scholar/bindings/scholarsearch.xml @@ -134,6 +134,13 @@ + + + + + + + - - @@ -262,10 +270,6 @@ ]]> - - - - @@ -279,7 +283,7 @@ this.dontupdate = true; //so that the search doesn't get updated while we are creating controls. var prefix = ''; - // Handle collectionID/savedSearchID + // Handle special conditions switch (condition['condition']) { case 'savedSearchID': @@ -295,6 +299,7 @@ this.id('conditionsmenu').value = condition['condition']; } + this.mode = condition['mode']; this.id('operatorsmenu').value = condition['operator']; this.value = prefix + condition['value']; this.dontupdate = false; @@ -316,6 +321,10 @@ if (!this.id('valuefield').hidden) { var value = this.id('valuefield').value; + // Append mode to condition + if (this.id('valuefield').mode){ + condition += '/' + this.id('valuefield').mode; + } } // Handle special C1234 and S5678 form for @@ -378,7 +387,7 @@ - + diff --git a/chrome/chromeFiles/content/scholar/bindings/searchtextbox.xml b/chrome/chromeFiles/content/scholar/bindings/searchtextbox.xml new file mode 100644 index 0000000000..4f72e449c7 --- /dev/null +++ b/chrome/chromeFiles/content/scholar/bindings/searchtextbox.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/chrome/chromeFiles/content/scholar/bindings/timedtextarea.xml b/chrome/chromeFiles/content/scholar/bindings/timedtextarea.xml index 6d6792047a..50a4f00b9d 100644 --- a/chrome/chromeFiles/content/scholar/bindings/timedtextarea.xml +++ b/chrome/chromeFiles/content/scholar/bindings/timedtextarea.xml @@ -1,8 +1,11 @@