--- loncom/auth/lonlogin.pm 2010/05/21 15:54:34 1.138
+++ loncom/auth/lonlogin.pm 2010/08/22 21:51:11 1.139
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Login Screen
#
-# $Id: lonlogin.pm,v 1.138 2010/05/21 15:54:34 bisitz Exp $
+# $Id: lonlogin.pm,v 1.139 2010/08/22 21:51:11 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -313,6 +313,14 @@ this.document.client.elements.upass$now.
this.document.server.submit();
return false;
}
+
+function enableInput() {
+ this.document.client.elements.upass$now.removeAttribute("readonly");
+ this.document.client.elements.uname.removeAttribute("readonly");
+ this.document.client.elements.udom.removeAttribute("readonly");
+ return;
+}
+
// ]]>
@@ -325,7 +333,8 @@ my %add_entries = (
text => "$font",
link => "$link",
vlink => "$vlink",
- alink => "$alink",);
+ alink => "$alink",
+ onload => 'javascript:enableInput();',);
$r->print(&Apache::loncommon::start_page('The LearningOnline Network with CAPA Login',$js,
{ 'redirect' => [$expire,'/adm/roles'],
@@ -414,11 +423,11 @@ my $loginform=(<
:
-
+
:
-
+
:
-
+
LFORM