Changeset 112256 in webkit


Ignore:
Timestamp:
Mar 27, 2012 5:22:42 AM (12 years ago)
Author:
vsevik@chromium.org
Message:

Web Inspector: Tree outline should not start search on key press if it is being edited.
https://bugs.webkit.org/show_bug.cgi?id=82327

Reviewed by Pavel Feldman.

This is needed for snippet renaming support.

  • inspector/front-end/treeoutline.js:

(TreeOutline):
(TreeOutline.prototype._treeKeyPress):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112255 r112256  
     12012-03-27  Vsevolod Vlasov  <vsevik@chromium.org>
     2
     3        Web Inspector: Tree outline should not start search on key press if it is being edited.
     4        https://bugs.webkit.org/show_bug.cgi?id=82327
     5
     6        Reviewed by Pavel Feldman.
     7
     8        This is needed for snippet renaming support.
     9
     10        * inspector/front-end/treeoutline.js:
     11        (TreeOutline):
     12        (TreeOutline.prototype._treeKeyPress):
     13
    1142012-03-27  Levi Weintraub  <leviw@chromium.org>
    215
  • trunk/Source/WebCore/inspector/front-end/treeoutline.js

    r111551 r112256  
    3939    this.selectedTreeElement = null;
    4040    this._childrenListNode = listNode;
     41    this.childrenListElement = this._childrenListNode;
    4142    this._childrenListNode.removeChildren();
    4243    this.expandTreeElementsWhenArrowing = false;
     
    336337TreeOutline.prototype._treeKeyPress = function(event)
    337338{
    338     if (!this.searchable)
     339    if (!this.searchable || WebInspector.isBeingEdited(this._childrenListNode))
    339340        return;
    340341   
Note: See TracChangeset for help on using the changeset viewer.