| Index: chrome/browser/resources/md_history/history_toolbar.js
|
| diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js
|
| index 78ac050546a403e1b9474f862e17cb9d6e901ed8..1cc831fe1fb52080710101d08266fca27c19c0b4 100644
|
| --- a/chrome/browser/resources/md_history/history_toolbar.js
|
| +++ b/chrome/browser/resources/md_history/history_toolbar.js
|
| @@ -40,7 +40,7 @@ Polymer({
|
| // as the user types.
|
| searchTerm: {
|
| type: String,
|
| - value: ''
|
| + notify: true,
|
| },
|
|
|
| // True if waiting on the search backend.
|
| @@ -93,6 +93,7 @@ Polymer({
|
| setSearchTerm: function(search) {
|
| if (this.searchTerm == search)
|
| return;
|
| +
|
| this.searchTerm = search;
|
| var searchField = /** @type {SearchField} */(this.$['search-input']);
|
| searchField.showAndFocus().then(function(showing) {
|
| @@ -104,10 +105,8 @@ Polymer({
|
| * If the search term has changed reload for the new search.
|
| */
|
| onSearch: function(searchTerm) {
|
| - if (searchTerm != this.searchTerm) {
|
| + if (searchTerm != this.searchTerm)
|
| this.searchTerm = searchTerm;
|
| - this.fire('search-changed', {search: searchTerm});
|
| - }
|
| },
|
|
|
| attached: function() {
|
|
|