Changeset 50886 in webkit


Ignore:
Timestamp:
Nov 12, 2009 10:35:39 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

2009-11-12 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: Do not highlight node on refresh.

https://bugs.webkit.org/show_bug.cgi?id=31419

  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.reset):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50885 r50886  
     12009-11-12  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: Do not highlight node on refresh.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=31419
     8
     9        * inspector/front-end/ElementsPanel.js:
     10        (WebInspector.ElementsPanel.prototype.reset):
     11
    1122009-11-12  Pavel Feldman  <pfeldman@chromium.org>
    213
  • trunk/WebCore/inspector/front-end/ElementsPanel.js

    r50465 r50886  
    193193        inspectedRootDocument.addEventListener("DOMNodeRemoved", this._nodeRemoved.bind(this));
    194194
     195        this.treeOutline.suppressSelectHighlight = true;
    195196        this.rootDOMNode = inspectedRootDocument;
    196197
    197198        var canidateFocusNode = inspectedRootDocument.body || inspectedRootDocument.documentElement;
    198199        if (canidateFocusNode) {
    199             this.treeOutline.suppressSelectHighlight = true;
    200200            this.focusedDOMNode = canidateFocusNode;
    201             this.treeOutline.suppressSelectHighlight = false;
    202201
    203202            if (this.treeOutline.selectedTreeElement)
    204203                this.treeOutline.selectedTreeElement.expand();
    205204        }
     205        this.treeOutline.suppressSelectHighlight = false;
    206206    },
    207207
Note: See TracChangeset for help on using the changeset viewer.