projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df08772
)
fix additional instance of rt/rt problem, RT#9280
author
ivan
<ivan>
Wed, 4 Aug 2010 09:25:11 +0000
(09:25 +0000)
committer
ivan
<ivan>
Wed, 4 Aug 2010 09:25:11 +0000
(09:25 +0000)
rt/share/html/Admin/Elements/EditCustomFields
patch
|
blob
|
history
diff --git
a/rt/share/html/Admin/Elements/EditCustomFields
b/rt/share/html/Admin/Elements/EditCustomFields
index
0767e4a
..
10f2540
100755
(executable)
--- a/
rt/share/html/Admin/Elements/EditCustomFields
+++ b/
rt/share/html/Admin/Elements/EditCustomFields
@@
-47,7
+47,9
@@
%# END BPS TAGGED BLOCK }}}
<& /Elements/ListActions, actions => \@results &>
%# END BPS TAGGED BLOCK }}}
<& /Elements/ListActions, actions => \@results &>
-<form action="<%RT->Config->Get('WebPath')%><% $m->request_comp->path |n %>" method="post" name="EditCustomFields">
+% 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">
<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 %>" />
<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 %>" />