Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4717)

Unified Diff: Source/devtools/front_end/network/NetworkItemView.js

Issue 311073002: DevTools: Preserve tab selection in NetworkItemView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/TabbedPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/network/NetworkItemView.js
diff --git a/Source/devtools/front_end/network/NetworkItemView.js b/Source/devtools/front_end/network/NetworkItemView.js
index 7b63bfb0320271ec38787f31a0adb90ebd415c32..676048a660379ab814ed2e1aeb8cb4d6b9767a1a 100644
--- a/Source/devtools/front_end/network/NetworkItemView.js
+++ b/Source/devtools/front_end/network/NetworkItemView.js
@@ -91,11 +91,8 @@ WebInspector.NetworkItemView.prototype = {
if (!tabId)
tabId = WebInspector.settings.resourceViewTab.get();
- if (!this.selectTab(tabId)) {
- this._isInFallbackSelection = true;
+ if (!this.selectTab(tabId))
this.selectTab("headers");
- delete this._isInFallbackSelection;
- }
},
_tabSelected: function(event)
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/TabbedPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698