This commit was generated by cvs2svn to compensate for changes in r10640,
[freeside.git] / rt / share / html / Admin / Elements / SelectScripCondition
index 34e700d..5167661 100755 (executable)
 %# 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>