Changeset 34011 in webkit
- Timestamp:
- May 21, 2008 10:59:24 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r34010 r34011 1 2008-05-21 Adam Roben <aroben@apple.com> 2 3 Fix Bug 19173: Tool tips for Inspector debugger status bar buttons are 4 wrong/missing 5 6 <https://bugs.webkit.org/show_bug.cgi?id=19173> 7 8 Reviewed by Tim Hatcher. 9 10 * manual-tests/inspector/debugger-status-bar-buttons-state.html: 11 Added. 12 * page/inspector/ScriptsPanel.js: 13 (WebInspector.ScriptsPanel.prototype._toggleDebugging): Call 14 _clearInterface (which updates the buttons' tool tips) after 15 attaching/detaching the debugger so that the buttons will reflect the 16 new state. 17 (WebInspector.ScriptsPanel.prototype._updatePauseOnExceptionsButton): 18 Set the title of the pauseOnExceptionsButton, not the debuggingButton. 19 1 20 2008-05-20 Adam Roben <aroben@apple.com> 2 21 -
trunk/WebCore/page/inspector/ScriptsPanel.js
r33527 r34011 545 545 { 546 546 if (InspectorController.pauseOnExceptions()) { 547 this. debuggingButton.title = WebInspector.UIString("Pause on exceptions.");547 this.pauseOnExceptionButtons.title = WebInspector.UIString("Pause on exceptions."); 548 548 this.pauseOnExceptionButtons.addStyleClass("toggled-on"); 549 549 } else { 550 this. debuggingButton.title = WebInspector.UIString("Don't pause on exceptions.");550 this.pauseOnExceptionButtons.title = WebInspector.UIString("Don't pause on exceptions."); 551 551 this.pauseOnExceptionButtons.removeStyleClass("toggled-on"); 552 552 } … … 608 608 this._stepping = false; 609 609 610 this._clearInterface();611 612 610 if (InspectorController.debuggerAttached()) { 613 611 this.element.appendChild(this.attachOverlayElement); … … 617 615 InspectorController.startDebuggingAndReloadInspectedPage(); 618 616 } 617 618 this._clearInterface(); 619 619 }, 620 620
Note: See TracChangeset
for help on using the changeset viewer.