summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-02-10 21:03:18 -0800
committerMerov Linden <merov@lindenlab.com>2014-02-10 21:03:18 -0800
commita5add351e891fb4e49c8014851b1dfff8657ff07 (patch)
treef9190c528d96995cf243924fb8ad394f018bdb08
parent5c82aca9104ab7b6c7cf59d270ada25053f962cd (diff)
parent8d0f7fe571fad23741c857967d44bcdc57ad731d (diff)
Pull merge ACME-1317 emergency fix
-rwxr-xr-xindra/newview/llfloaterwebcontent.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index 4151eec3e3..8830accbf2 100755
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -387,7 +387,10 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent
}
else if(event == MEDIA_EVENT_GEOMETRY_CHANGE)
{
- geometryChanged(self->getGeometryX(), self->getGeometryY(), self->getGeometryWidth(), self->getGeometryHeight());
+ 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());
+ }
}
else if(event == MEDIA_EVENT_STATUS_TEXT_CHANGED )
{