[LON-CAPA-cvs] cvs: loncom /interface courseclassifier.pm
raeburn
raeburn at source.lon-capa.org
Mon Feb 24 18:41:39 EST 2025
raeburn Mon Feb 24 23:41:39 2025 EDT
Modified files:
/loncom/interface courseclassifier.pm
Log:
- WCAG 2 compliance.
lonsupportreq.pm rev. 1.107 added a label for the section item in the helpdesk
form. Using the helpform with an active role in an "official" course means
changing selection(s) for year/semester/department/course number triggers
toggleSecVis(), which will point that "label for" at the correct form element.
Index: loncom/interface/courseclassifier.pm
diff -u loncom/interface/courseclassifier.pm:1.30 loncom/interface/courseclassifier.pm:1.31
--- loncom/interface/courseclassifier.pm:1.30 Mon Jul 10 01:55:15 2023
+++ loncom/interface/courseclassifier.pm Mon Feb 24 23:41:39 2025
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utilities for classifying courses based on institutional code
#
-# $Id: courseclassifier.pm,v 1.30 2023/07/10 01:55:15 raeburn Exp $
+# $Id: courseclassifier.pm,v 1.31 2025/02/24 23:41:39 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -409,6 +409,15 @@
if (document.getElementById('LC_helpdesk_section')) {
document.getElementById('LC_helpdesk_section').style.display = showbox;
}
+ if (document.getElementById('section')) {
+ document.getElementById('section').id = 'wasinuse';
+ }
+ if (document.getElementById('notinuse') {
+ document.getElementById('notinuse').id = 'section';
+ }
+ if (document.getElementById('wasinuse') {
+ document.getElementById('wasinuse').id = 'notinuse';
+ }
return;
}
More information about the LON-CAPA-cvs
mailing list