Bug 1437880 -Disable "Remove Selected" button in the site data manager dialog if a website is deselected. r=prathiksha
authoraccakks <aakanksha.jain8@gmail.com>
Fri, 23 Mar 2018 20:04:34 +0530
changeset 466060 e7de3b21524c2d56a5c82ecde470b43f3ddb2d87
parent 466059 a2fa1060ea47b8d138d283d86580e4d2819cc014
child 466061 f3db418c3e5f75655af1bd39b89cb31debb60b85
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprathiksha
bugs1437880
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1437880 -Disable "Remove Selected" button in the site data manager dialog if a website is deselected. r=prathiksha MozReview-Commit-ID: 7YhXjg84QSx
browser/components/preferences/siteDataSettings.js
--- a/browser/components/preferences/siteDataSettings.js
+++ b/browser/components/preferences/siteDataSettings.js
@@ -258,16 +258,17 @@ let gSiteDataSettings = {
 
   close() {
     window.close();
   },
 
   onClickTreeCol(e) {
     this._sortSites(this._sites, e.target);
     this._buildSitesList(this._sites);
+    this._list.clearSelection();
   },
 
   onCommandSearch() {
     this._buildSitesList(this._sites);
     this._list.clearSelection();
   },
 
   onClickRemoveSelected() {