[Rt-commit] r14538 - rt/3.8/trunk/share/html/Install
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Jul 25 22:54:29 EDT 2008
Author: sunnavy
Date: Fri Jul 25 22:54:27 2008
New Revision: 14538
Modified:
rt/3.8/trunk/share/html/Install/DatabaseDetails.html
Log:
don't show the inputs again if db check with success, so the browser can't stupidly set some fields with old value again.
Modified: rt/3.8/trunk/share/html/Install/DatabaseDetails.html
==============================================================================
--- rt/3.8/trunk/share/html/Install/DatabaseDetails.html (original)
+++ rt/3.8/trunk/share/html/Install/DatabaseDetails.html Fri Jul 25 22:54:27 2008
@@ -66,6 +66,12 @@
% }
<form method="post">
+<input type="hidden" name="Run" value="1">
+% if ( @results && !@errors ) {
+<& /Elements/Submit, Label => loc('Next: ') . loc('Customize Basics'),
+Back => 1, BackLabel => loc('Back: ') . loc('Select Database Type'),
+Name => 'Next' &>
+% } else {
<& /Widgets/BulkEdit, Types => \@Types, Meta => $RT::Installer->{Meta},
CurrentValue => { %{RT::Installer->CurrentValues(@Types)},
DatabaseAdmin =>
@@ -76,13 +82,6 @@
: '' ),
}
&>
-<input type="hidden" name="Run" value="1">
-
-% if ( @results && !@errors ) {
-<& /Elements/Submit, Label => loc('Next: ') . loc('Customize Basics'),
-Back => 1, BackLabel => loc('Back: ') . loc('Select Database Type'),
-Name => 'Next' &>
-% } else {
<& /Elements/Submit, Label => loc('Check Database Connectivity'),
Back => 1, BackLabel => loc('Back: ') . loc('Select Database Type')
&>
More information about the Rt-commit
mailing list