Ignore:
Timestamp:
01/03/14 15:17:22 (11 years ago)
Author:
tose
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/control.php

    r17438 r17439  
    479479                        var newOutertr = document.createElement("tr");
    480480
    481                         /*newtable.appendChild(newtd_c1);
     481                        newtable.appendChild(newtd_c1);
    482482                        newtable.appendChild(newtd_c6);
    483483                        newtable.appendChild(newtd_c7);
    484484
    485                         newdiv.appendChild(newtable); */
    486 
    487                         if($prevtimestamp != 0 && $prevtimestamp!= timestamp) {
    488                                 newtable.appendChild(newtd_c1);
    489                                 newtable.appendChild(newtd_c6);
    490                                 newtable.appendChild(newtd_c7);
    491 
    492                                 newdiv.appendChild(newtable);                   
    493 
    494                                 if(nextrow != null){   
    495                                         var doc = document.getElementById(nextrow);
    496                                         $(doc).after(newdiv);
    497                                 }else{
    498                                         targetView.appendChild(newdiv);
    499                                         //$(targetView).after(newtr<?php echo $cnt; ?>);
    500                                 }
     485                        newdiv.appendChild(newtable);
     486
     487                        if(nextrow != null){   
     488                                var doc = document.getElementById(nextrow);
     489                                $(doc).after(newdiv);
     490                        } else {
     491                                targetView.appendChild(newdiv);
     492                                //$(targetView).after(newtr<?php echo $cnt; ?>);
    501493                        }
    502494        <?php
Note: See TracChangeset for help on using the changeset viewer.