summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupbulkban.cpp
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2013-10-09 17:03:24 -0700
committerBaker Linden <baker@lindenlab.com>2013-10-09 17:03:24 -0700
commit427a33d6108ada1c8ca2e046b87b5d035b0ac877 (patch)
treef8e840f97869df92db318881def69023aa1085b7 /indra/newview/llpanelgroupbulkban.cpp
parent25ead22777ff418671ad76eb754f4a199ac766d1 (diff)
[GroupBan] Minor fixes / Code review
Reviewer: Richard Linden - Minor fixes from code review - Continue stubbing out ban_reason, or implement it (depending on how quickly I can do it, though stubbing out ban_reason will be sufficient, which it is now) - Fixed an issue where a ban list string in the actions tab wasn't showing up properly
Diffstat (limited to 'indra/newview/llpanelgroupbulkban.cpp')
-rw-r--r--indra/newview/llpanelgroupbulkban.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llpanelgroupbulkban.cpp b/indra/newview/llpanelgroupbulkban.cpp
index af1809b1f8..3b442036fa 100644
--- a/indra/newview/llpanelgroupbulkban.cpp
+++ b/indra/newview/llpanelgroupbulkban.cpp
@@ -100,16 +100,10 @@ BOOL LLPanelGroupBulkBan::postBuild()
mImplementation->mTooManySelected = getString("ban_selection_too_large");
update();
-
- // return (mImplementation->mRoleNames &&
- // mImplementation->mBannedAgents &&
- // mImplementation->mRemoveButton);
-
- return (mImplementation->mBulkAgentList &&
- mImplementation->mRemoveButton);
+ return TRUE;
}
-
+// TODO: Refactor the shitty callback functions with void* -- just use boost::bind to call submit() instead.
void LLPanelGroupBulkBan::callbackClickSubmit(void* userdata)
{
LLPanelGroupBulkBan* selfp = (LLPanelGroupBulkBan*)userdata;