summaryrefslogtreecommitdiff
path: root/rt/share/html/Admin
diff options
context:
space:
mode:
authorivan <ivan>2010-08-15 00:44:55 +0000
committerivan <ivan>2010-08-15 00:44:55 +0000
commit7515782ca6e453f2e4c9a52c62429e73ce047247 (patch)
tree2f71865e11884fec135ac9fb98d336cb02d9cbe9 /rt/share/html/Admin
parent7f89738f0f4740efaca00b06034e3a7d86c49ea5 (diff)
address root cause of rt/rt links and remove the workarounds, RT#9280
Diffstat (limited to 'rt/share/html/Admin')
-rwxr-xr-xrt/share/html/Admin/Elements/EditCustomFields4
1 files changed, 1 insertions, 3 deletions
diff --git a/rt/share/html/Admin/Elements/EditCustomFields b/rt/share/html/Admin/Elements/EditCustomFields
index 10f254006..0767e4ae4 100755
--- a/rt/share/html/Admin/Elements/EditCustomFields
+++ b/rt/share/html/Admin/Elements/EditCustomFields
@@ -47,9 +47,7 @@
%# END BPS TAGGED BLOCK }}}
<& /Elements/ListActions, actions => \@results &>
-% my $path = $m->request_comp->path;
-% $path =~ s(^/rt)(); #hacky, dunno why this happens
-<form action="<%RT->Config->Get('WebPath')%><% $path |n %>" method="post" name="EditCustomFields">
+<form action="<%RT->Config->Get('WebPath')%><% $m->request_comp->path |n %>" method="post" name="EditCustomFields">
<input type="hidden" class="hidden" name="id" value="<% $Object->Id || ''%>" />
<input type="hidden" class="hidden" name="ObjectType" value="<% $ObjectType %>" />
<input type="hidden" class="hidden" name="SubType" value="<% $SubType %>" />