mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 403965, r+sr=peterv, a=schrep
This commit is contained in:
parent
604eee8752
commit
fd08e5f414
@ -1112,6 +1112,7 @@ nsTextEditorFocusListener::Focus(nsIDOMEvent* aEvent)
|
||||
// turn on selection and caret
|
||||
if (mEditor)
|
||||
{
|
||||
nsCOMPtr<nsIEditorIMESupport> imeEditor = do_QueryInterface(mEditor);
|
||||
PRUint32 flags;
|
||||
mEditor->GetFlags(&flags);
|
||||
if (! (flags & nsIPlaintextEditor::eEditorDisabledMask))
|
||||
@ -1164,7 +1165,6 @@ nsTextEditorFocusListener::Focus(nsIDOMEvent* aEvent)
|
||||
}
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIEditorIMESupport> imeEditor = do_QueryInterface(mEditor);
|
||||
if (imeEditor)
|
||||
imeEditor->NotifyIMEOnFocus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user