[Rt-commit] r11800 - rt/branches/3.8-TESTING/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Apr 21 03:38:39 EDT 2008


Author: sunnavy
Date: Mon Apr 21 03:38:39 2008
New Revision: 11800

Modified:
   rt/branches/3.8-TESTING/html/installation/Step3.html

Log:
blank input shouldn't be colored

Modified: rt/branches/3.8-TESTING/html/installation/Step3.html
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Step3.html	(original)
+++ rt/branches/3.8-TESTING/html/installation/Step3.html	Mon Apr 21 03:38:39 2008
@@ -62,7 +62,7 @@
 <& /Elements/SelectTimezone, Name => 'Timezone',  &>
 % } else {
 <input type="text" <% ( $_ eq 'MininumPasswordLength' || $_ eq
-'MaxAttachmentSize' ) ? q[onchange="this.value.match(/^\d+$/) ?
+'MaxAttachmentSize' ) ? q[onchange="(!this.value || this.value.match(/^\d+$/)) ?
 this.style.background='white' : this.style.background='red'" ]: () |n %>
 name="<% $_ %>" value="<% $ARGS{$_} || $session{InstallConfig}{$_} %>" />
 % }


More information about the Rt-commit mailing list