projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempt fixing "multiple states" links, RT#13922
[freeside.git]
/
httemplate
/
elements
/
popup_link-cust_main.html
diff --git
a/httemplate/elements/popup_link-cust_main.html
b/httemplate/elements/popup_link-cust_main.html
index
454fcc4
..
1413785
100644
(file)
--- a/
httemplate/elements/popup_link-cust_main.html
+++ b/
httemplate/elements/popup_link-cust_main.html
@@
-27,7
+27,7
@@
Example:
% }
<%init>
% }
<%init>
-my $params = { 'closetext' =>
'Close'
};
+my $params = { 'closetext' =>
emt('Close')
};
if (ref($_[0]) eq 'HASH') {
$params = { %$params, %{ $_[0] } };
if (ref($_[0]) eq 'HASH') {
$params = { %$params, %{ $_[0] } };
@@
-39,4
+39,8
@@
$params->{'action'} .=
( $params->{'action'} =~ /\?/ ? ';' : '?' ).
'custnum='. $params->{'cust_main'}->custnum;
( $params->{'action'} =~ /\?/ ? ';' : '?' ).
'custnum='. $params->{'cust_main'}->custnum;
+$params->{'action'} .= ";$_=".$params->{$_}
+ foreach grep $params->{$_},
+ qw( lock_pkgpart lock_locationnum qualnum svcpart );
+
</%init>
</%init>