Modernize and improve upon LLFloaterReporter to fix Issue 822: Report Abuse does not populate Region Name or screenshot correctly

Cleans up related bits in xmls/translations
This commit is contained in:
Inusaito Sayori
2013-05-20 09:09:03 -04:00
parent 6048c2405b
commit 5c9286f460
12 changed files with 290 additions and 978 deletions

View File

@@ -5144,10 +5144,9 @@ void LLSelectMgr::processObjectPropertiesFamily(LLMessageSystem* msg, void** use
msg->getStringFast(_PREHASH_ObjectData, _PREHASH_Description, desc);
// the reporter widget askes the server for info about picked objects
if (request_flags & (COMPLAINT_REPORT_REQUEST | BUG_REPORT_REQUEST))
if (request_flags & COMPLAINT_REPORT_REQUEST)
{
EReportType report_type = (COMPLAINT_REPORT_REQUEST & request_flags) ? COMPLAINT_REPORT : BUG_REPORT;
LLFloaterReporter *reporterp = LLFloaterReporter::getReporter(report_type);
LLFloaterReporter *reporterp = LLFloaterReporter::getInstance();
if (reporterp)
{
std::string fullname;