summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterreporter.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
commitf41b7bb8dff075d8c32ea03be407d20fe11e71f3 (patch)
tree08bf4cb9354f975940b83cd695a2aa8bb8d74870 /indra/newview/llfloaterreporter.cpp
parentd5eef2d8a6cc0d5855d68d0726565e07d46211b2 (diff)
-74901 (back out premature commit to release)
Diffstat (limited to 'indra/newview/llfloaterreporter.cpp')
-rw-r--r--indra/newview/llfloaterreporter.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llfloaterreporter.cpp b/indra/newview/llfloaterreporter.cpp
index 9170e70ccd..bd5438e10f 100644
--- a/indra/newview/llfloaterreporter.cpp
+++ b/indra/newview/llfloaterreporter.cpp
@@ -131,7 +131,12 @@ LLFloaterReporter::LLFloaterReporter(
gUICtrlFactory->buildFloater(this, "floater_report_abuse.xml");
}
- childSetText("abuse_location_edit", gAgent.getSLURL() );
+ LLViewerRegion *regionp = gAgent.getRegion();
+ if (regionp)
+ {
+ childSetText("sim_field", regionp->getName() );
+ childSetText("abuse_location_edit", regionp->getName() );
+ }
LLButton* pick_btn = LLUICtrlFactory::getButtonByName(this, "pick_btn");
if (pick_btn)
@@ -158,7 +163,6 @@ LLFloaterReporter::LLFloaterReporter(
// convert the position to a string
LLVector3d pos = gAgent.getPositionGlobal();
- LLViewerRegion *regionp = gAgent.getRegion();
if (regionp)
{
pos -= regionp->getOriginGlobal();