Index: Source/WebCore/inspector/front-end/ScriptsPanel.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 112683) |
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy) |
@@ -673,16 +673,16 @@ |
_editorSelected: function(event) |
{ |
- this._hideNavigatorOverlay(); |
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data; |
this._showFile(uiSourceCode); |
+ this._hideNavigatorOverlay(); |
}, |
_fileSelected: function(event) |
{ |
- this._hideNavigatorOverlay(); |
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data; |
this._showFile(uiSourceCode); |
+ this._hideNavigatorOverlay(); |
}, |
_fileSelectorReleasedFocus: function(event) |
@@ -1049,6 +1049,8 @@ |
return; |
this._sidebarOverlay.hide(); |
+ if (this.visibleView) |
+ this.visibleView.focus(); |
}, |
_navigatorOverlayWasShown: function(event) |