Diff for /modules/gci/londocsgci.pm between versions 1.12 and 1.13

version 1.12, 2010/09/14 06:23:15 version 1.13, 2010/09/19 14:48:53
Line 316  sub display_questions { Line 316  sub display_questions {
     $output .= '<span id="'.$titleid.'">'.      $output .= '<span id="'.$titleid.'">'.
               '<a href="javascript:showQuestions('."'$fieldid','$titleid'".')">'.                '<a href="javascript:showQuestions('."'$fieldid','$titleid'".')">'.
               &mt('Show').'</a> ...</span><br />'.                &mt('Show').'</a> ...</span><br />'.
               '<div id="'.$fieldid.'">'.                '<div id="'.$fieldid.'" style="display: none">'.
               &Apache::loncommon::start_data_table().                &Apache::loncommon::start_data_table().
               &Apache::loncommon::start_data_table_header_row();                &Apache::loncommon::start_data_table_header_row();
     unless (($catname eq 'development') || ($catname eq 'mandatory')) {      unless (($catname eq 'development') || ($catname eq 'mandatory')) {
Line 675  function hideQuestions(content,title) { Line 675  function hideQuestions(content,title) {
     return;      return;
 }  }
   
 function setInitialVisibility() {  
     if (document.getElementById('GCI_mandatory_q') == null) {  
         return;  
     }  
     document.getElementById('GCI_mandatory_q').style.display = "none";  
     document.getElementById('GCI_bin0_q').style.display = "none";  
     document.getElementById('GCI_bin1_q').style.display = "none";  
     document.getElementById('GCI_bin2_q').style.display = "none";  
     document.getElementById('GCI_bin3_q').style.display = "none";  
     document.getElementById('GCI_bin4_q').style.display = "none";  
     document.getElementById('GCI_bin5_q').style.display = "none";  
     document.getElementById('GCI_bin6_q').style.display = "none";  
     document.getElementById('GCI_bin7_q').style.display = "none";  
     document.getElementById('GCI_bin8_q').style.display = "none";  
     document.getElementById('GCI_bin9_q').style.display = "none";  
     document.getElementById('GCI_bin10_q').style.display = "none";  
     document.getElementById('GCI_optional_q').style.display = "none";  
     document.getElementById('GCI_development_q').style.display = "none";  
 }  
   
 function countChecked(binname) {  function countChecked(binname) {
     var count = 0;      var count = 0;
     for (var i=0; i<document.selecteditems.elements.length; i++) {      for (var i=0; i<document.selecteditems.elements.length; i++) {

Removed from v.1.12  
changed lines
  Added in v.1.13


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>