projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 75357 - added rows now have same style as original row
[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
6f126d3
..
64648ba
100755
(executable)
--- a/
httemplate/elements/tr-select-reason.html
+++ b/
httemplate/elements/tr-select-reason.html
@@
-43,6
+43,7
@@
Example:
<& /elements/xmlhttp.html,
url => $p . 'misc/xmlhttp-reason-hint.html',
subs => [ 'get_hint' ],
<& /elements/xmlhttp.html,
url => $p . 'misc/xmlhttp-reason-hint.html',
subs => [ 'get_hint' ],
+ skip_empty => 1,
&>
<SCRIPT TYPE="text/javascript">
function <% $id %>_changed() {
&>
<SCRIPT TYPE="text/javascript">
function <% $id %>_changed() {
@@
-220,7
+221,7
@@
my @reasons = qsearch({
my @pre_options = ( 0 => 'Select reason...' );
my @pre_options = ( 0 => 'Select reason...' );
-@pre_options = @{ $opt{'pre_options'}
if $opt{'pre_options'}
};
+@pre_options = @{ $opt{'pre_options'}
} if $opt{'pre_options'
};
my @post_options;
if ( $curuser->access_right($add_access_right) && !$hide_addnew ) {
my @post_options;
if ( $curuser->access_right($add_access_right) && !$hide_addnew ) {