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

Unified Diff: Source/WebCore/inspector/front-end/ElementsTreeOutline.js

Issue 11414088: Merge 134605 - Web Inspector: "Reveal in Element Panel" doesn't work if Elements panel hasn't been … (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/ElementsTreeOutline.js
===================================================================
--- Source/WebCore/inspector/front-end/ElementsTreeOutline.js (revision 135297)
+++ Source/WebCore/inspector/front-end/ElementsTreeOutline.js (working copy)
@@ -487,6 +487,8 @@
function focusElement()
{
+ // Force elements module load.
+ WebInspector.showPanel("elements");
WebInspector.domAgent.inspectElement(treeElement.representedObject.id);
}
var contextMenu = new WebInspector.ContextMenu(event);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698