Changeset 190246 in webkit
- Timestamp:
- Sep 25, 2015 10:51:28 AM (9 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r190201 r190246 1 2015-09-25 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Reloading the page causes the inspector tab to switch back to "Resources" tab 4 https://bugs.webkit.org/show_bug.cgi?id=148732 5 6 Reviewed by Darin Adler. 7 8 * UserInterface/Views/ResourceSidebarPanel.js: 9 (WebInspector.ResourceSidebarPanel.prototype._scriptsCleared): 10 Suppress selection of sibiling tree elements when removing extra folders. 11 1 12 2015-09-24 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js
r185485 r190246 312 312 _scriptsCleared(event) 313 313 { 314 const suppressOnDeselect = true; 315 const suppressSelectSibling = true; 316 314 317 if (this._extensionScriptsFolderTreeElement) { 315 318 if (this._extensionScriptsFolderTreeElement.parent) 316 this._extensionScriptsFolderTreeElement.parent.removeChild(this._extensionScriptsFolderTreeElement );319 this._extensionScriptsFolderTreeElement.parent.removeChild(this._extensionScriptsFolderTreeElement, suppressOnDeselect, suppressSelectSibling); 317 320 this._extensionScriptsFolderTreeElement = null; 318 321 } … … 320 323 if (this._extraScriptsFolderTreeElement) { 321 324 if (this._extraScriptsFolderTreeElement.parent) 322 this._extraScriptsFolderTreeElement.parent.removeChild(this._extraScriptsFolderTreeElement );325 this._extraScriptsFolderTreeElement.parent.removeChild(this._extraScriptsFolderTreeElement, suppressOnDeselect, suppressSelectSibling); 323 326 this._extraScriptsFolderTreeElement = null; 324 327 } … … 326 329 if (this._anonymousScriptsFolderTreeElement) { 327 330 if (this._anonymousScriptsFolderTreeElement.parent) 328 this._anonymousScriptsFolderTreeElement.parent.removeChild(this._anonymousScriptsFolderTreeElement );331 this._anonymousScriptsFolderTreeElement.parent.removeChild(this._anonymousScriptsFolderTreeElement, suppressOnDeselect, suppressSelectSibling); 329 332 this._anonymousScriptsFolderTreeElement = null; 330 333 }
Note: See TracChangeset
for help on using the changeset viewer.