From 55077fd1ae7a00b1a49993d124f2640b17d95bb8 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Tue, 2 Jul 2013 20:00:10 -0700 Subject: ACME-626 : Suppress the closing of the floater when clicking Post or we can't see the status --- indra/newview/llfloatersocial.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index 684b177f24..a0dbb7ea95 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -111,13 +111,6 @@ void LLSocialStatusPanel::onSend() LLEventPumps::instance().obtain("FacebookConnectState").listen("LLSocialStatusPanel", boost::bind(&LLSocialStatusPanel::onConnectedToFacebook, this, _1, message)); LLFacebookConnect::instance().checkConnectionToFacebook(true); } - - // Close the floater once "Post" has been pushed - LLFloater* floater = getParentByType(); - if (floater) - { - floater->closeFloater(); - } } } } @@ -335,13 +328,6 @@ void LLSocialPhotoPanel::onSend() } updateControls(); - - // Close the floater once "Post" has been pushed - LLFloater* floater = getParentByType(); - if (floater) - { - floater->closeFloater(); - } } bool LLSocialPhotoPanel::onConnectedToFacebook(const LLSD& data, LLPointer image, const std::string& caption) @@ -560,13 +546,6 @@ void LLSocialCheckinPanel::onSend() LLEventPumps::instance().obtain("FacebookConnectState").listen("LLSocialCheckinPanel", boost::bind(&LLSocialCheckinPanel::onConnectedToFacebook, this, _1, slurl_string, region_name, description, map_url, caption)); LLFacebookConnect::instance().checkConnectionToFacebook(true); } - - // Close the floater once "Post" has been pushed - LLFloater* floater = getParentByType(); - if (floater) - { - floater->closeFloater(); - } } bool LLSocialCheckinPanel::onConnectedToFacebook(const LLSD& data, const std::string& location, const std::string& name, const std::string& description, const std::string& picture, const std::string& message) -- cgit v1.2.3