Changeset 50886 in webkit
- Timestamp:
- Nov 12, 2009 10:35:39 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50885 r50886 1 2009-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 1 12 2009-11-12 Pavel Feldman <pfeldman@chromium.org> 2 13 -
trunk/WebCore/inspector/front-end/ElementsPanel.js
r50465 r50886 193 193 inspectedRootDocument.addEventListener("DOMNodeRemoved", this._nodeRemoved.bind(this)); 194 194 195 this.treeOutline.suppressSelectHighlight = true; 195 196 this.rootDOMNode = inspectedRootDocument; 196 197 197 198 var canidateFocusNode = inspectedRootDocument.body || inspectedRootDocument.documentElement; 198 199 if (canidateFocusNode) { 199 this.treeOutline.suppressSelectHighlight = true;200 200 this.focusedDOMNode = canidateFocusNode; 201 this.treeOutline.suppressSelectHighlight = false;202 201 203 202 if (this.treeOutline.selectedTreeElement) 204 203 this.treeOutline.selectedTreeElement.expand(); 205 204 } 205 this.treeOutline.suppressSelectHighlight = false; 206 206 }, 207 207
Note: See TracChangeset
for help on using the changeset viewer.