summaryrefslogtreecommitdiff
path: root/rt/share/html/Admin/Elements/SelectScripCondition
diff options
context:
space:
mode:
authormark <mark>2010-11-17 21:26:40 +0000
committermark <mark>2010-11-17 21:26:40 +0000
commit9916976831c67272ea1870d5d65a3b00ddd1b8de (patch)
treea878610c825b689f419321ccf69990d0a8103aa5 /rt/share/html/Admin/Elements/SelectScripCondition
parent4ea80084f316a0ac5235967d09479b634428c891 (diff)
create ticket on custom field change, RT#10139
Diffstat (limited to 'rt/share/html/Admin/Elements/SelectScripCondition')
-rwxr-xr-xrt/share/html/Admin/Elements/SelectScripCondition5
1 files changed, 4 insertions, 1 deletions
diff --git a/rt/share/html/Admin/Elements/SelectScripCondition b/rt/share/html/Admin/Elements/SelectScripCondition
index 34e700d9e..516766157 100755
--- a/rt/share/html/Admin/Elements/SelectScripCondition
+++ b/rt/share/html/Admin/Elements/SelectScripCondition
@@ -45,7 +45,10 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<select name="<%$Name%>">
+<select name="<%$Name%>"
+onchange="var idobj = document.getElementsByName('id')[0];
+if (idobj.value=='new') idobj.value = '';
+form.submit()">
<option value=""
<% ! defined $Default && qq[ selected="selected"] %>
>-</option>