[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

onken onken@source.lon-capa.org
Wed, 17 Mar 2010 15:59:05 -0000


onken		Wed Mar 17 15:59:05 2010 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  fixes problem with hidden Tabs in Course Editor.
  also see: bugzilla - bug6237
  
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.419 loncom/interface/londocs.pm:1.420
--- loncom/interface/londocs.pm:1.419	Fri Feb  5 12:46:40 2010
+++ loncom/interface/londocs.pm	Wed Mar 17 15:59:05 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.419 2010/02/05 12:46:40 bisitz Exp $
+# $Id: londocs.pm,v 1.420 2010/03/17 15:59:05 onken Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3793,6 +3793,9 @@
 			if(currentLis[i].className == 'active') {
 				funcString = currentLis[i].onclick.toString();
 				tab = funcString.split('"');
+                                if(tab.length < 2) {
+                                   tab = funcString.split("'");
+                                }
 				currentData = document.getElementById(tab[1]);
         			currentData.style.display = 'block';
 			}