зеркало из https://github.com/mozilla/pjs.git
Bug 189011. Mail compose broken. Partial backout of bug 176296, r=brade, sr=smfr
This commit is contained in:
Родитель
3810215899
Коммит
3d4836da75
|
@ -394,6 +394,7 @@ nsTypeAheadFind::Observe(nsISupports *aSubject, const char *aTopic,
|
|||
AttachWindowListeners(topLevelWindow);
|
||||
}
|
||||
|
||||
#ifdef TYPEAHEADCONTROLLER
|
||||
// Attach nsTypeAheadController to window
|
||||
// so it can handle / and ' shortcuts to start text and link search
|
||||
nsCOMPtr<nsIDOMWindowInternal> winInternal =
|
||||
|
@ -416,6 +417,7 @@ nsTypeAheadFind::Observe(nsISupports *aSubject, const char *aTopic,
|
|||
|
||||
controllers->AppendController(controller);
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче