Changeset 42221 in webkit
- Timestamp:
- Apr 3, 2009 5:41:04 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r42218 r42221 1 2009-04-03 Timothy Hatcher <timothy@apple.com> 2 3 Fixes a bug where you could not type any more in the Web Inspector's 4 search field after the first match is selected in the Resources panel. 5 6 https://bugs.webkit.org/show_bug.cgi?id=23982 7 rdar://problem/6592367 8 9 Reviewed by Darin Adler. 10 11 * inspector/front-end/SourceView.js: 12 (WebInspector.SourceView.prototype._jumpToSearchResult): Use the 13 window object of the frame to set the selection, not the main window. 14 1 15 2009-04-03 Sam Weinig <sam@webkit.org> 2 16 -
trunk/WebCore/inspector/front-end/SourceView.js
r39367 r42221 275 275 return; 276 276 277 var selection = window.getSelection();277 var selection = this.sourceFrame.element.contentWindow.getSelection(); 278 278 selection.removeAllRanges(); 279 279 selection.addRange(foundRange);
Note: See TracChangeset
for help on using the changeset viewer.