Update of /cvsroot/sandweb/sandweb/bin
In directory usw-pr-cvs1:/tmp/cvs-serv16594/bin
Modified Files:
sandweb.cgi
Log Message:
fixed the issue where new users couldn't get past the config screen,
so "confirm_delete" needs to be "on" or "off" not 1 or 0 in order for
the HTML checkbox stuff to work correctly.
now that i have that figured out, i'm pretty close to actually being
able to set this pref :)
Index: sandweb.cgi
===================================================================
RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v
retrieving revision 1.320
retrieving revision 1.321
diff -U2 -r1.320 -r1.321
--- sandweb.cgi 16 Sep 2002 05:30:13 -0000 1.320
+++ sandweb.cgi 5 Oct 2002 05:34:32 -0000 1.321
@@ -856,4 +856,8 @@
my $confirm_delete = $user->get_confirm_delete();
+ unless ($confirm_delete eq "on" || $confirm_delete eq "off") {
+ $confirm_delete = "on";
+ }
+
my $content = $ui->get_menu(
MENU => 'configuration',
@@ -2541,4 +2545,5 @@
my @personal_params = (
'full_name',
+ 'confirm_delete',
);
|