Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fixed #13180 (#13181)
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh95 authored and swmitra committed Mar 15, 2017
1 parent 8ddead0 commit 125868b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/extensibility/ExtensionManagerDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,11 @@ define(function (require, exports, module) {
} else { // Otherwise show the first tab
$dlg.find(".nav-tabs a:first").tab("show");
}
if ($activeTab.hasClass("installed")) {
// If activeTab was explicitly selected by user,
// then check for the selection
// Or if there was an update available since activeTab.length would be 0,
// then check for updatesAvailable class in toolbar-extension-manager
if (($activeTab.length && $activeTab.hasClass("installed")) || (!$activeTab.length && $("#toolbar-extension-manager").hasClass('updatesAvailable'))) {
$(".ext-sort-group").hide();
} else {
$(".ext-sort-group").show();
Expand Down

0 comments on commit 125868b

Please sign in to comment.