Selaa lähdekoodia

Fixing pagination see #5753

Julio Montoya 12 vuotta sitten
vanhempi
commit
723ca55d42
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      main/tracking/courseLog.php

+ 3 - 3
main/tracking/courseLog.php

@@ -68,8 +68,8 @@ $csv_content = array();
 $js = "<script>
         // hide column and display the button to unhide it
         function foldup(in_id) {
-            $('div#reporting_table table tr td:nth-child('+in_id+')').fadeToggle();
-            $('div#reporting_table table tr th:nth-child('+in_id+')').fadeToggle();
+            $('#reporting_table .data_table tr td:nth-child('+in_id+')').fadeToggle();
+            $('#reporting_table .data_table tr th:nth-child('+in_id+')').fadeToggle();
             $('div#unhideButtons span:nth-child('+in_id+')').fadeToggle();
         }
 
@@ -87,7 +87,7 @@ $js = "<script>
         // be sure that these columns always exists
         // see $tab_table_header = array();    // tab of header texts
         $(document).ready( function() {
-            init_hide();
+            //init_hide();
             foldup(1);
             foldup(9);
             foldup(10);