Bug 1122507 - Fix the way the new network security tab toggles in the network panel now that we have the allTabs menu. r=past

This commit is contained in:
Patrick Brosset 2015-01-16 05:27:00 +01:00
Родитель 07962e80d1
Коммит f05d6f0c6d
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -2104,8 +2104,7 @@ NetworkDetailsView.prototype = {
// 2) come from a target that provides security information.
let hasSecurityInfo = aData.securityState &&
aData.securityState !== "insecure";
$("#security-tab").hidden = !hasSecurityInfo;
this.sidebar.toggleTab(hasSecurityInfo, "security-tab", "security-tabpanel");
// Switch to the "Headers" tabpanel if the "Preview" previously selected
// and this is not an HTML response or "Security" was selected but this