Changeset 141409 in webkit
- Timestamp:
- Jan 31, 2013 5:42:42 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141406 r141409 1 2013-01-31 Andrey Adaikin <aandrey@chromium.org> 2 3 Web Inspector: [Profiles] show launcher view upon deleting last profile type's header 4 https://bugs.webkit.org/show_bug.cgi?id=108468 5 6 Reviewed by Pavel Feldman. 7 8 We should show launcher view and hide profile type sidebar section upon deleting last profile type's header from the sidebar. 9 Right now we only show launcher view upon deleting the last profile header (of any profile type). 10 11 * inspector/front-end/ProfilesPanel.js: 12 (WebInspector.ProfilesPanel.prototype._removeProfileHeader): 13 1 14 2013-01-31 Eugene Klyuchnikov <eustas@chromium.org> 2 15 -
trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js
r141388 r141409 610 610 // No other item will be selected if there aren't any other profiles, so 611 611 // make sure that view gets cleared when the last profile is removed. 612 if (!this._profiles.length) 613 this.closeVisibleView(); 612 if (!sidebarParent.children.length) { 613 this.profilesItemTreeElement.select(); 614 this._showLauncherView(); 615 sidebarParent.hidden = true; 616 } 614 617 }, 615 618
Note: See TracChangeset
for help on using the changeset viewer.