summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-07-02 20:00:10 -0700
committerMerov Linden <merov@lindenlab.com>2013-07-02 20:00:10 -0700
commit55077fd1ae7a00b1a49993d124f2640b17d95bb8 (patch)
treed33f1c4bb1c7f0ee748d01b0de129264dc2aeb85 /indra/newview
parent2d94b69def305a5d7e92d433bde8ac43eae71337 (diff)
ACME-626 : Suppress the closing of the floater when clicking Post or we can't see the status
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatersocial.cpp21
1 files changed, 0 insertions, 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<LLFloater>();
- if (floater)
- {
- floater->closeFloater();
- }
}
}
}
@@ -335,13 +328,6 @@ void LLSocialPhotoPanel::onSend()
}
updateControls();
-
- // Close the floater once "Post" has been pushed
- LLFloater* floater = getParentByType<LLFloater>();
- if (floater)
- {
- floater->closeFloater();
- }
}
bool LLSocialPhotoPanel::onConnectedToFacebook(const LLSD& data, LLPointer<LLImageFormatted> 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<LLFloater>();
- 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)