SOCIAL-608 FIX Create Classified link is available in Basic mode

SOCIAL-609 FIX Create Pick link is available in Basic mode in the web profile
SOCIAL-610 FIX View group info in Viewer sidebar are available in Basic mode
master
Richard Linden 2011-02-28 23:43:05 -08:00
parent e02b83c350
commit e062a2778b
2 changed files with 7 additions and 6 deletions

View File

@ -55,8 +55,8 @@ public:
{
if (!LLUI::sSettingGroups["config"]->getBOOL("EnableGroupInfo"))
{
LLNotificationsUtil::add("NoGroupInfo");
return false;
LLNotificationsUtil::add("NoGroupInfo", LLSD(), LLSD(), std::string("ConfirmQuit"));
return true;
}
if (tokens.size() < 1)

View File

@ -70,6 +70,7 @@ static const std::string CLASSIFIED_NAME("classified_name");
static LLRegisterPanelClassWrapper<LLPanelPicks> t_panel_picks("panel_picks");
class LLPickHandler : public LLCommandHandler,
public LLAvatarPropertiesObserver
{
@ -85,8 +86,8 @@ public:
{
if (!LLUI::sSettingGroups["config"]->getBOOL("EnablePicks"))
{
LLNotificationsUtil::add("NoPicks");
return false;
LLNotificationsUtil::add("NoPicks", LLSD(), LLSD(), std::string("ConfirmQuit"));
return true;
}
// handle app/classified/create urls first
@ -197,8 +198,8 @@ public:
{
if (!LLUI::sSettingGroups["config"]->getBOOL("EnableClassifieds"))
{
LLNotificationsUtil::add("NoClassifieds");
return false;
LLNotificationsUtil::add("NoClassifieds", LLSD(), LLSD(), std::string("ConfirmQuit"));
return true;
}
// handle app/classified/create urls first