[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 17:58:32 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 817c43807d07f46bdc82577d0fb4b85c58bfd78a
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 3 20:11:23 2010 +0000

    2010-12-03  Pavel Feldman  <pfeldman at 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):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73285 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 346f506..c838e54 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-12-03  Pavel Feldman  <pfeldman at 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):
+
 2010-12-03  Simon Fraser  <simon.fraser at apple.com>
 
         Reviewed by Nikolas Zimmermann.
diff --git a/WebCore/inspector/front-end/ElementsTreeOutline.js b/WebCore/inspector/front-end/ElementsTreeOutline.js
index f893ca0..02a7911 100644
--- a/WebCore/inspector/front-end/ElementsTreeOutline.js
+++ b/WebCore/inspector/front-end/ElementsTreeOutline.js
@@ -268,6 +268,7 @@ WebInspector.ElementsTreeOutline.prototype = {
         if (this.showInElementsPanelEnabled) {
             function focusElement()
             {
+                WebInspector.currentPanel = WebInspector.panels.elements;
                 WebInspector.panels.elements.focusedDOMNode = listItem.treeElement.representedObject;
             }
             contextMenu.appendItem(WebInspector.UIString("Reveal in Elements Panel"), focusElement.bind(this));
diff --git a/WebCore/inspector/front-end/ObjectPropertiesSection.js b/WebCore/inspector/front-end/ObjectPropertiesSection.js
index e13e5eb..64e214f 100644
--- a/WebCore/inspector/front-end/ObjectPropertiesSection.js
+++ b/WebCore/inspector/front-end/ObjectPropertiesSection.js
@@ -202,8 +202,10 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
     {
         function selectNode(nodeId)
         {
-            if (nodeId)
+            if (nodeId) {
+                WebInspector.currentPanel = WebInspector.panels.elements;
                 WebInspector.panels.elements.focusedDOMNode = WebInspector.domAgent.nodeForId(nodeId);
+            }
         }
 
         function revealElement()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list