Bug 815273 - Don't force focus the Downloads Panel "Show all downloads" button when opening the panel. r=mak.

This commit is contained in:
Mike Conley 2012-11-28 11:10:57 -05:00
parent 7e08eed13a
commit 6c42deee0b
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/*** Download panel ***/
#downloadsPanel {
-moz-user-focus: normal;
}
/*** Download items ***/
richlistitem[type="download"] {

View File

@ -356,7 +356,7 @@ const DownloadsPanel = {
if (DownloadsView.richListBox.itemCount > 0) {
DownloadsView.richListBox.focus();
} else {
DownloadsView.downloadsHistory.focus();
this.panel.focus();
}
}
},