mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 424989 Cannot use reconversion of IMEs from system menu at the focus being on textarea r+sr=roc, b1.9=jonas
This commit is contained in:
parent
3007ad4a80
commit
2a69e80bd1
@ -2466,11 +2466,6 @@ nsTextControlFrame::GetText(nsString* aText)
|
|||||||
} else {
|
} else {
|
||||||
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea = do_QueryInterface(mContent);
|
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea = do_QueryInterface(mContent);
|
||||||
if (textArea) {
|
if (textArea) {
|
||||||
if (mEditor) {
|
|
||||||
nsCOMPtr<nsIEditorIMESupport> imeSupport = do_QueryInterface(mEditor);
|
|
||||||
if (imeSupport)
|
|
||||||
imeSupport->ForceCompositionEnd();
|
|
||||||
}
|
|
||||||
rv = textArea->GetValue(*aText);
|
rv = textArea->GetValue(*aText);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user