| Index: chrome/browser/resources/md_history/list_container.js
|
| diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
|
| index 93d430d098c6298aea140073b56f7115f9d31d2b..687a4fe7140c8c1a54723612178d2b851ec962d6 100644
|
| --- a/chrome/browser/resources/md_history/list_container.js
|
| +++ b/chrome/browser/resources/md_history/list_container.js
|
| @@ -66,10 +66,13 @@ Polymer({
|
| return;
|
| }
|
|
|
| + // Close any open dialog if a new query is initiated.
|
| + if (!incremental && this.$.dialog.open)
|
| + this.$.dialog.close();
|
| +
|
| this.set('queryState.querying', true);
|
| this.set('queryState.incremental', incremental);
|
|
|
| -
|
| var lastVisitTime = 0;
|
| if (incremental) {
|
| var lastVisit = this.queryResult.results.slice(-1)[0];
|
| @@ -114,7 +117,6 @@ Polymer({
|
| /** @private */
|
| loadMoreHistory_: function() { this.queryHistory(true); },
|
|
|
| -
|
| /**
|
| * @param {HistoryQuery} info
|
| * @param {!Array<HistoryEntry>} results
|
|
|