From e92e5a3d5337204c10a8417bb0ad480d591b4b90 Mon Sep 17 00:00:00 2001 From: Gilbert Gonzales Date: Tue, 25 Jun 2013 13:53:38 -0700 Subject: ACME-592 Clicking 'Post' should close the Facebook floater --- indra/newview/llfloatersocial.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index 23e3d35c22..9b27024eed 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -380,6 +380,13 @@ void LLSocialPhotoPanel::onSend() LLFacebookConnect::instance().sharePhoto(previewp->getFormattedImage(), caption); updateControls(); + + // Close the floater once "Post" has been pushed + LLFloater* floater = getParentByType(); + if (floater) + { + floater->closeFloater(); + } } -- cgit v1.2.3