Bug 969080 - [Australis] Remove leftover onCommandHandler method. r=Unfocused

This commit is contained in:
Matthew Noorenberghe 2014-02-06 21:43:20 -08:00
Родитель 73e828c70b
Коммит e9379e1143
1 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -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.
*/