зеркало из https://github.com/mozilla/pjs.git
Bug 387695 - Clean Up button is disabled. Patch by Simon Bünzli <zeniko@gmail.com>. r=sdwilsh
This commit is contained in:
Родитель
fdcd3e51e4
Коммит
1d12a790c9
|
@ -639,7 +639,7 @@ var gDownloadViewController = {
|
|||
return false;
|
||||
|
||||
switch (aCommand) {
|
||||
case "cmd_cleanup":
|
||||
case "cmd_cleanUp":
|
||||
return gDownloadManager.canCleanUp;
|
||||
case "cmd_remove":
|
||||
return gDownloadsView.selectedItem != null;
|
||||
|
@ -669,7 +669,7 @@ var gDownloadViewController = {
|
|||
},
|
||||
|
||||
commands: {
|
||||
cmd_cleanup: function() {
|
||||
cmd_cleanUp: function() {
|
||||
gDownloadManager.cleanUp();
|
||||
|
||||
// Update UI
|
||||
|
|
Загрузка…
Ссылка в новой задаче