Chromium Code Reviews| Index: Source/devtools/front_end/AdvancedSearchController.js |
| diff --git a/Source/devtools/front_end/AdvancedSearchController.js b/Source/devtools/front_end/AdvancedSearchController.js |
| index 22f500e60f90cab47ae9e9b86ba24cbbea149749..56cde398f6e1b9cb8ee94f14cd610f1ee2bfefae 100644 |
| --- a/Source/devtools/front_end/AdvancedSearchController.js |
| +++ b/Source/devtools/front_end/AdvancedSearchController.js |
| @@ -514,6 +514,7 @@ WebInspector.FileBasedSearchResultsPane.prototype = { |
| anchor.href = sanitizeHref(uiSourceCode.originURL()); |
| anchor.uiSourceCode = uiSourceCode; |
| anchor.lineNumber = lineNumber; |
| + anchor.omitFocus = true; |
|
vsevik
2013/05/08 12:12:57
As discussed I don't think we should show drawer s
|
| return anchor; |
| }, |
| @@ -603,12 +604,14 @@ WebInspector.FileBasedSearchResultsPane.prototype = { |
| * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult |
| * @param {number} startMatchIndex |
| * @param {TreeElement} showMoreMatchesElement |
| + * @return {boolean} |
| */ |
| _showMoreMatchesElementSelected: function(searchResult, startMatchIndex, showMoreMatchesElement) |
| { |
| var fileTreeElement = showMoreMatchesElement.parent; |
| fileTreeElement.removeChild(showMoreMatchesElement); |
| this._appendSearchMatches(fileTreeElement, searchResult, startMatchIndex, searchResult.searchMatches.length); |
| + return true; |
| }, |
| /** |