Title: [183625] trunk/Source/WebInspectorUI
- Revision
- 183625
- Author
- commit-qu...@webkit.org
- Date
- 2015-04-30 01:54:05 -0700 (Thu, 30 Apr 2015)
Log Message
Web Inspector: Copy not working in Console
https://bugs.webkit.org/show_bug.cgi?id=144354
Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-04-30
Reviewed by Timothy Hatcher.
* UserInterface/Base/Main.js:
(WebInspector._focusedContentView):
Select the inner most content view to check if handleCopyEvent exists.
Previously we were stopping at the top level TabContentView.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (183624 => 183625)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-04-30 08:37:51 UTC (rev 183624)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-04-30 08:54:05 UTC (rev 183625)
@@ -1,3 +1,15 @@
+2015-04-30 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Copy not working in Console
+ https://bugs.webkit.org/show_bug.cgi?id=144354
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Base/Main.js:
+ (WebInspector._focusedContentView):
+ Select the inner most content view to check if handleCopyEvent exists.
+ Previously we were stopping at the top level TabContentView.
+
2015-04-29 Timothy Hatcher <timo...@apple.com>
Web Inspector: Remove some unused Images
Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (183624 => 183625)
--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js 2015-04-30 08:37:51 UTC (rev 183624)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js 2015-04-30 08:54:05 UTC (rev 183625)
@@ -1534,8 +1534,12 @@
WebInspector._focusedContentView = function()
{
- if (this.tabBrowser.element.isSelfOrAncestor(this.currentFocusElement))
- return this.tabBrowser.selectedTabContentView;
+ if (this.tabBrowser.element.isSelfOrAncestor(this.currentFocusElement)) {
+ var tabContentView = this.tabBrowser.selectedTabContentView;
+ if (tabContentView instanceof WebInspector.ContentBrowserTabContentView)
+ return tabContentView.contentBrowser.currentContentView;
+ return tabContentView;
+ }
if (this.splitContentBrowser.element.isSelfOrAncestor(this.currentFocusElement))
return this.splitContentBrowser.currentContentView;
return null;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes