Changeset 15636 for schedule/Module
- Timestamp:
- 05/17/13 13:39:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15635 r15636 57 57 var year =this.selection.print("%Y").join("\n"); 58 58 var newline = []; 59 var arrTime; 59 60 var xmlhttp; 60 61 if (window.XMLHttpRequest) … … 73 74 //var arr = []; 74 75 var Time = []; 75 76 var colon=[]; 76 77 for(var row=0;row<lines.length; row++) 77 78 { … … 82 83 { 83 84 var x=Time[t].split('T'); 85 colon[t]=x[1]; 86 for(var st=0;st<colon.length;t++) 87 { 88 var c=Time[st].split(':'); 89 arrTime=st[0]+'.'+st[1]; 90 if(f[4]==0) 91 { 92 newline[row]="["+parseFloat(arrTime)+","+0+"]"; 93 } 94 else if(f[4]=="" && f[0]=="") 95 { 96 newline[row]="["+parseFloat(arrTime)+","+0+"]"; 97 } 98 else 99 newline[row]="["+parseFloat(arrTime)+","+parseFloat(f[4])+"]"; 100 101 } 84 102 //h[t]=x[1]; 85 if(f[4]==0)86 {87 newline[row]="["+parseFloat(x[1])+","+0+"]";88 }89 else if(f[4]=="" && f[0]=="")90 {91 newline[row]="["+parseFloat(x[1])+","+0+"]";92 }93 else94 newline[row]="["+parseFloat(x[1])+","+parseFloat(f[4])+"]";95 103 96 104 }
Note:
See TracChangeset
for help on using the changeset viewer.