Changeset 50031 in webkit


Ignore:
Timestamp:
Oct 24, 2009 4:02:45 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-10-24 Timothy Hatcher <timothy@apple.com>

Remove the re-root tree feature from the Web Inspector's
Elements panel. This feature wasn't super useful and gets
in the way of double-click to edit.

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

Reviewed by Pavel Feldman.

  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype.ondblclick):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50030 r50031  
     12009-10-24  Timothy Hatcher  <timothy@apple.com>
     2
     3        Remove the re-root tree feature from the Web Inspector's
     4        Elements panel. This feature wasn't super useful and gets
     5        in the way of double-click to edit.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=30736
     8
     9        Reviewed by Pavel Feldman.
     10
     11        * inspector/front-end/ElementsTreeOutline.js:
     12        (WebInspector.ElementsTreeElement.prototype.ondblclick):
     13
    1142009-10-24  Anton Muhin  <antonm@chromium.org>
    215
  • trunk/WebCore/inspector/front-end/ElementsTreeOutline.js

    r49917 r50031  
    528528        if (this._startEditingFromEvent(event, treeElement))
    529529            return;
    530 
    531         if (this.treeOutline.panel) {
    532             this.treeOutline.rootDOMNode = this.representedObject.parentNode;
    533             this.treeOutline.focusedDOMNode = this.representedObject;
    534         }
    535530
    536531        if (this.hasChildren && !this.expanded)
Note: See TracChangeset for help on using the changeset viewer.