projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import of rt 3.0.9
[freeside.git]
/
rt
/
html
/
Elements
/
SelectWatcherType
diff --git
a/rt/html/Elements/SelectWatcherType
b/rt/html/Elements/SelectWatcherType
index
26de8f7
..
82aab2a
100644
(file)
--- a/
rt/html/Elements/SelectWatcherType
+++ b/
rt/html/Elements/SelectWatcherType
@@
-22,7
+22,9
@@
%#
%# END LICENSE BLOCK
<SELECT NAME ="<%$Name%>">
%#
%# END LICENSE BLOCK
<SELECT NAME ="<%$Name%>">
+% if ($AllowNull) {
<OPTION VALUE="">-</OPTION>
<OPTION VALUE="">-</OPTION>
+% }
%for my $option (@types) {
<OPTION VALUE="<%$option%>" <%$option eq $Default && "SELECTED"%>><%loc($option)%></OPTION>
%}
%for my $option (@types) {
<OPTION VALUE="<%$option%>" <%$option eq $Default && "SELECTED"%>><%loc($option)%></OPTION>
%}
@@
-38,6
+40,7
@@
else {
}
</%INIT>
<%ARGS>
}
</%INIT>
<%ARGS>
+$AllowNull => 1
$Default=>undef
$Scope => 'ticket'
$Name => 'WatcherType'
$Default=>undef
$Scope => 'ticket'
$Name => 'WatcherType'