Title: [112256] trunk/Source/WebCore
- Revision
- 112256
- Author
- [email protected]
- Date
- 2012-03-27 05:22:42 -0700 (Tue, 27 Mar 2012)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (112255 => 112256)
--- trunk/Source/WebCore/ChangeLog 2012-03-27 12:13:17 UTC (rev 112255)
+++ trunk/Source/WebCore/ChangeLog 2012-03-27 12:22:42 UTC (rev 112256)
@@ -1,3 +1,16 @@
+2012-03-27 Vsevolod Vlasov <[email protected]>
+
+ 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):
+
2012-03-27 Levi Weintraub <[email protected]>
Revert RenderApplet::intrinsicSize to integers
Modified: trunk/Source/WebCore/inspector/front-end/treeoutline.js (112255 => 112256)
--- trunk/Source/WebCore/inspector/front-end/treeoutline.js 2012-03-27 12:13:17 UTC (rev 112255)
+++ trunk/Source/WebCore/inspector/front-end/treeoutline.js 2012-03-27 12:22:42 UTC (rev 112256)
@@ -38,6 +38,7 @@
this.children = [];
this.selectedTreeElement = null;
this._childrenListNode = listNode;
+ this.childrenListElement = this._childrenListNode;
this._childrenListNode.removeChildren();
this.expandTreeElementsWhenArrowing = false;
this.root = true;
@@ -335,7 +336,7 @@
TreeOutline.prototype._treeKeyPress = function(event)
{
- if (!this.searchable)
+ if (!this.searchable || WebInspector.isBeingEdited(this._childrenListNode))
return;
var searchText = String.fromCharCode(event.charCode);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes