Changeset 73285 in webkit


Ignore:
Timestamp:
Dec 3, 2010 12:11:23 PM (13 years ago)
Author:
pfeldman@chromium.org
Message:

2010-12-03 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: reveal in elements panel does not switch the panel itself.
https://bugs.webkit.org/show_bug.cgi?id=50408

  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement): (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
  • inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r73284 r73285  
     12010-12-03  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: reveal in elements panel does not switch the panel itself.
     6        https://bugs.webkit.org/show_bug.cgi?id=50408
     7
     8        * inspector/front-end/ElementsTreeOutline.js:
     9        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
     10        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
     11        * inspector/front-end/ObjectPropertiesSection.js:
     12        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
     13
    1142010-12-03  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/WebCore/inspector/front-end/ElementsTreeOutline.js

    r72733 r73285  
    269269            function focusElement()
    270270            {
     271                WebInspector.currentPanel = WebInspector.panels.elements;
    271272                WebInspector.panels.elements.focusedDOMNode = listItem.treeElement.representedObject;
    272273            }
  • trunk/WebCore/inspector/front-end/ObjectPropertiesSection.js

    r72072 r73285  
    203203        function selectNode(nodeId)
    204204        {
    205             if (nodeId)
     205            if (nodeId) {
     206                WebInspector.currentPanel = WebInspector.panels.elements;
    206207                WebInspector.panels.elements.focusedDOMNode = WebInspector.domAgent.nodeForId(nodeId);
     208            }
    207209        }
    208210
Note: See TracChangeset for help on using the changeset viewer.