diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 1df01a66ab0850a6086c7ab407633dcd58058050..74df92602d78bdf22a18267f821c1a46393b8b74 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -2117,6 +2117,8 @@ void LLViewerMediaImpl::focus(bool focus)
 	{
 		// call focus just for the hell of it, even though this apopears to be a nop
 		mMediaSource->focus(focus);
+		LLUI::getWindow()->allowLanguageTextInput(NULL, focus);
+		
 		if (focus)
 		{
 			// spoof a mouse click to *actually* pass focus