Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1181)

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 540183002: Add search to Print Preview advanced options and enable them in the UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index b2f8b0558215097bc5eb4fbfc47279cd4bc724fc..1d54473586aed1e2c199f320bbc6520465d5a59e 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -264,7 +264,7 @@ cr.define('print_preview', function() {
/**
* Filters all destination lists with the given query.
- * @param {?string} query Query to filter destination lists by.
+ * @param {RegExp} query Query to filter destination lists by.
* @private
*/
filterLists_: function(query) {
@@ -450,7 +450,7 @@ cr.define('print_preview', function() {
* @private
*/
onSearch_: function(evt) {
- this.filterLists_(evt.query);
+ this.filterLists_(evt.queryRegExp);
},
/**

Powered by Google App Engine
This is Rietveld 408576698