зеркало из https://github.com/mozilla/gecko-dev.git
Bug 969080 - [Australis] Remove leftover onCommandHandler method. r=Unfocused
This commit is contained in:
Родитель
73e828c70b
Коммит
e9379e1143
|
@ -328,22 +328,6 @@ const PanelUI = {
|
|||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This function can be used as a command event listener for subviews
|
||||
* so that the panel knows if and when to close itself.
|
||||
*/
|
||||
onCommandHandler: function(aEvent) {
|
||||
let closemenu = aEvent.originalTarget.getAttribute("closemenu");
|
||||
if (closemenu == "none") {
|
||||
return;
|
||||
}
|
||||
if (closemenu == "single") {
|
||||
this.showMainView();
|
||||
return;
|
||||
}
|
||||
this.hide();
|
||||
},
|
||||
|
||||
/**
|
||||
* Open a dialog window that allow the user to customize listed character sets.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче