Skip to content
Snippets Groups Projects
Commit 8d0f7fe5 authored by Cho's avatar Cho
Browse files

Hack to fix ACME-1317

parent 413be91c
No related branches found
No related tags found
No related merge requests found
...@@ -371,9 +371,12 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent ...@@ -371,9 +371,12 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent
closeFloater(); closeFloater();
} }
else if(event == MEDIA_EVENT_GEOMETRY_CHANGE) else if(event == MEDIA_EVENT_GEOMETRY_CHANGE)
{
if (mCurrentURL.find("facebook.com/dialog/oauth") == std::string::npos) // HACK to fix ACME-1317 - Cho
{ {
geometryChanged(self->getGeometryX(), self->getGeometryY(), self->getGeometryWidth(), self->getGeometryHeight()); geometryChanged(self->getGeometryX(), self->getGeometryY(), self->getGeometryWidth(), self->getGeometryHeight());
} }
}
else if(event == MEDIA_EVENT_STATUS_TEXT_CHANGED ) else if(event == MEDIA_EVENT_STATUS_TEXT_CHANGED )
{ {
const std::string text = self->getStatusText(); const std::string text = self->getStatusText();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment