[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
raeburn
raeburn at source.lon-capa.org
Tue May 31 10:16:29 EDT 2022
raeburn Tue May 31 14:16:29 2022 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- Fix typos in rev. 1.613, and remove some trailing whitespace.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.613 loncom/interface/lonparmset.pm:1.614
--- loncom/interface/lonparmset.pm:1.613 Tue May 24 16:23:03 2022
+++ loncom/interface/lonparmset.pm Tue May 31 14:16:29 2022
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.613 2022/05/24 16:23:03 raeburn Exp $
+# $Id: lonparmset.pm,v 1.614 2022/05/31 14:16:29 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1407,8 +1407,8 @@
}
document.parmform.elements['set_'+identifier].value += posslinkmenu;
}
- } else if (dlTargetRegExp.text(name)) {
- var identifier = name.replace(dlTargetExp,'');
+ } else if (dlTargetRegExp.test(name)) {
+ var identifier = name.replace(dlTargetRegExp,'');
var idx = document.parmform.elements[i].selectedIndex;
if (idx > 0) {
var possdeeplink = document.parmform.elements[i].options[idx].value
@@ -1416,7 +1416,7 @@
if (document.parmform.elements['set_'+identifier].value) {
possdeeplink = ','+possdeeplink;
}
- document.parmform.elements['set_'+identifier].value += possdeeplink;
+ document.parmform.elements['set_'+identifier].value += possdeeplink;
}
}
}
@@ -5207,7 +5207,7 @@
ltid => 'LTI access (domain)' ,
std => 'Standard (all menus)',
colls => 'Numbered collection',
- _self => 'Embedded',
+ _self => 'Embedded',
_top => 'Not embedded',
);
%selectnull = &Apache::lonlocal::texthash (
More information about the LON-CAPA-cvs
mailing list