Bug 424524 Unable to enter special characters in html input type=password fields with keyboard shortcuts r=josh, sr=vlad, b1.9=josh

This commit is contained in:
masayuki@d-toybox.com 2008-04-03 04:41:35 -07:00
Родитель ed44781dff
Коммит 673f7895eb
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -4474,7 +4474,8 @@ static PRBool IsNormalCharInputtingEvent(const nsKeyEvent& aEvent)
// interpretKeyEvents isn't set up to handle those key combinations.
PRBool wasComposing = nsTSMManager::IsComposing();
PRBool interpretKeyEventsCalled = PR_FALSE;
if (!isKeyEquiv && nsTSMManager::IsIMEEnabled()) {
if (!isKeyEquiv &&
(nsTSMManager::IsIMEEnabled() || nsTSMManager::IsRomanKeyboardsOnly())) {
[super interpretKeyEvents:[NSArray arrayWithObject:theEvent]];
interpretKeyEventsCalled = PR_TRUE;
}