[LON-CAPA-cvs] cvs: loncom /interface lonextresedit.pm
raeburn
raeburn at source.lon-capa.org
Wed Nov 7 13:56:48 EST 2018
raeburn Wed Nov 7 18:56:48 2018 EDT
Modified files:
/loncom/interface lonextresedit.pm
Log:
- Update editext() function to match fieldset id (changed in rev. 1.25)
Index: loncom/interface/lonextresedit.pm
diff -u loncom/interface/lonextresedit.pm:1.26 loncom/interface/lonextresedit.pm:1.27
--- loncom/interface/lonextresedit.pm:1.26 Wed Jul 4 13:55:27 2018
+++ loncom/interface/lonextresedit.pm Wed Nov 7 18:56:48 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: lonextresedit.pm,v 1.26 2018/07/04 13:55:27 raeburn Exp $
+# $Id: lonextresedit.pm,v 1.27 2018/11/07 18:56:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -941,14 +941,14 @@
}
function editext(residx,type) {
- if (document.getElementById('upload'+type+residx)) {
- var curr = document.getElementById('upload'+type+residx).style.display;
+ if (document.getElementById('external'+type+residx)) {
+ var curr = document.getElementById('external'+type+residx).style.display;
if (curr == 'none') {
disp = 'block';
} else {
disp = 'none';
}
- document.getElementById('upload'+type+residx).style.display=disp;
+ document.getElementById('external'+type+residx).style.display=disp;
}
resize_scrollbox('contentscroll','1','1');
return;
More information about the LON-CAPA-cvs
mailing list