projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
has no meaning to close the location standardize popup until its ready
[freeside.git]
/
httemplate
/
elements
/
tr-select-reason.html
diff --git
a/httemplate/elements/tr-select-reason.html
b/httemplate/elements/tr-select-reason.html
index
97466f1
..
9a43022
100755
(executable)
--- a/
httemplate/elements/tr-select-reason.html
+++ b/
httemplate/elements/tr-select-reason.html
@@
-188,9
+188,8
@@
my $class = $opt{'reason_class'};
my $init_reason;
if ( $opt{'cgi'} ) {
$init_reason = $opt{'cgi'}->param($name);
-} else {
- $init_reason = $opt{'curr_value'};
}
+$init_reason ||= $opt{'curr_value'};
my $id = $opt{'id'} || $name;
$id =~ s/\./_/g; # for edit/part_event