[LON-CAPA-cvs] cvs: loncom /interface coursecatalog.pm lonpickcourse.pm lonrequestcourse.pm
bisitz
bisitz@source.lon-capa.org
Tue, 08 Jun 2010 16:37:20 -0000
bisitz Tue Jun 8 16:37:20 2010 EDT
Modified files:
/loncom/interface coursecatalog.pm lonpickcourse.pm
lonrequestcourse.pm
Log:
Removed leftovers of already removed alternative login mode (accessibility).
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.61 loncom/interface/coursecatalog.pm:1.62
--- loncom/interface/coursecatalog.pm:1.61 Sun May 30 14:17:04 2010
+++ loncom/interface/coursecatalog.pm Tue Jun 8 16:37:20 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for displaying the course catalog interface
#
-# $Id: coursecatalog.pm,v 1.61 2010/05/30 14:17:04 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.62 2010/06/08 16:37:20 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -327,10 +327,7 @@
text=>"Course/Community Catalog"});
}
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Course/Community Catalog'));
- my $onchange;
- unless ($env{'form.interface'} eq 'textual') {
- $onchange = 'this.form.submit()';
- }
+ my $onchange = 'this.form.submit()';
$r->print('<form name="coursecatdom" method="post" action="/adm/coursecatalog">'.
'<table border="0"><tr><td><b>'.&mt('Domain:').'</b></td><td>'.
&Apache::loncommon::select_dom_form($codedom,'showdom','',1,$onchange));
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.95 loncom/interface/lonpickcourse.pm:1.96
--- loncom/interface/lonpickcourse.pm:1.95 Sun Jun 6 02:40:30 2010
+++ loncom/interface/lonpickcourse.pm Tue Jun 8 16:37:20 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Pick a course
#
-# $Id: lonpickcourse.pm,v 1.95 2010/06/06 02:40:30 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.96 2010/06/08 16:37:20 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -536,10 +536,7 @@
} else {
$formname = $caller;
}
- my $onchange;
- unless ($env{'form.interface'} eq 'textual') {
- $onchange = 'javascript:updateFilters(this)';
- }
+ my $onchange = 'javascript:updateFilters(this)';
my ($domainselectform,$sincefilterform,$createdfilterform,
$ownerdomselectform,$persondomselectform,$instcodeform,
$typeselectform,$instcodetitle);
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.51 loncom/interface/lonrequestcourse.pm:1.52
--- loncom/interface/lonrequestcourse.pm:1.51 Wed Mar 31 18:58:34 2010
+++ loncom/interface/lonrequestcourse.pm Tue Jun 8 16:37:20 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Request a course
#
-# $Id: lonrequestcourse.pm,v 1.51 2010/03/31 18:58:34 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.52 2010/06/08 16:37:20 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -647,11 +647,7 @@
sub print_main_menu {
my ($r,$can_request,$states,$dom,$jscript,$loaditems,$crumb,$request_domains) = @_;
my ($types,$typename) = &Apache::loncommon::course_types();
- my $onchange;
- unless ($env{'form.interface'} eq 'textual') {
- $onchange = 'this.form.submit()';
- }
-
+ my $onchange = 'this.form.submit()';
my $nextstate_setter = "\n";
if (ref($states) eq 'HASH') {
foreach my $key (keys(%{$states})) {