зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1141756 Part 2: Correct removal of Printing:Preview:Entered message listener. r=mconley
This commit is contained in:
Родитель
84aa76cafb
Коммит
a9a7378a89
|
@ -561,7 +561,7 @@ var PrintUtils = {
|
|||
}
|
||||
|
||||
let onEntered = (message) => {
|
||||
mm.removeMessageListener("Printing:PrintPreview:Entered", onEntered);
|
||||
mm.removeMessageListener("Printing:Preview:Entered", onEntered);
|
||||
|
||||
if (message.data.failed) {
|
||||
// Something went wrong while putting the document into print preview
|
||||
|
|
Загрузка…
Ссылка в новой задаче