Skip to content

Commit

Permalink
Fix a bug where the butter bar warning was displaying when extension …
Browse files Browse the repository at this point in the history
…was removed and re-added.

This was achieved by hiding the butter bar on extension removal.

BUG=117207

Review URL: https://chromiumcodereview.appspot.com/17847008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208983 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
DHNishi@gmail.com authored and DHNishi@gmail.com committed Jun 27, 2013
1 parent 72f6e90 commit 2bed9f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Clinton Staley <clintstaley@gmail.com>
Code Aurora Forum <*@codeaurora.org>
Craig Schlenter <craig.schlenter@gmail.com>
Dai Chunyang <chunyang.dai@intel.com>
Daniel Nishi <dhnishi@gmail.com>
David Benjamin <davidben@mit.edu>
David Futcher <david.mike.futcher@gmail.com>
Devlin Cronin <rdevlin.cronin@gmail.com>
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/resources/extensions/extension_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ cr.define('options', function() {
var trash = trashTemplate.cloneNode(true);
trash.title = loadTimeData.getString('extensionUninstall');
trash.addEventListener('click', function(e) {
butterBarVisibility[extension.id] = false;
chrome.send('extensionSettingsUninstall', [extension.id]);
});
node.querySelector('.enable-controls').appendChild(trash);
Expand Down

0 comments on commit 2bed9f5

Please sign in to comment.