[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm
raeburn
raeburn at source.lon-capa.org
Sat Nov 3 19:32:38 EDT 2012
raeburn Sat Nov 3 23:32:38 2012 EDT
Modified files:
/loncom/interface lonhtmlcommon.pm
Log:
- No horizontal rules (IDs: bb_hrule, cc_hrule or ee_hrule) require
their widths to be set dynamically, following changes in londocs.pm
rev 1.501 & 1.502.
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.328 loncom/interface/lonhtmlcommon.pm:1.329
--- loncom/interface/lonhtmlcommon.pm:1.328 Wed Oct 31 12:54:13 2012
+++ loncom/interface/lonhtmlcommon.pm Sat Nov 3 23:32:37 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.328 2012/10/31 12:54:13 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.329 2012/11/03 23:32:37 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2925,29 +2925,6 @@
if (itemid.offsetWidth != itemwstart) {
listwchange = 1;
}
-THIRD
- if ($context eq 'docs') {
- $output .= <<"DOCSTWO";
- if (activeTab == 'cc1') {
- if (document.getElementById('cc_hrule') != null) {
- document.getElementById('cc_hrule').style.width=actabw+"px";
- }
- } else {
- if (activeTab == 'bb1') {
- if (document.getElementById('bb_hrule') != null) {
- document.getElementById('bb_hrule').style.width=actabw+"px";
- }
- } else {
- if (activeTab == 'ee2') {
- if (document.getElementById('ee_hrule') != null) {
- document.getElementById('ee_hrule').style.width=actabw+"px";
- }
- }
- }
- }
-DOCSTWO
- }
- $output .= <<"FOURTH";
}
if ((chkh == 1) || (listwchange)) {
var primaryheight = document.getElementById('LC_nav_bar').offsetHeight;
@@ -3007,7 +2984,7 @@
timer=setTimeout('resize_scrollbox("$names{'scroll'}","1","1")',500);
}
-FOURTH
+THIRD
return $output;
}
More information about the LON-CAPA-cvs
mailing list