Changeset 13322 for trunk/www/db_po
- Timestamp:
- 04/05/12 17:01:43 (13 years ago)
- Location:
- trunk/www/db_po
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/get_date.php
r11780 r13322 98 98 printf("<select id='%s%d'>\n", $_GET["fDateName"], $_GET["fIdx"]); 99 99 else 100 printf("<select id='%s%d' onchange=\"get_dates('%s', this.value, this.value, %d, 'yes')\">\n", 100 //printf("<select id='%s%d' onchange=\"get_dates('%s', this.value, this.value, %d, 'yes')\">\n", 101 // fill dummy for first value, as else the value for the next pulldown might be set to a value by chance 102 printf("<select id='%s%d' onchange=\"get_dates('%s', 'dummy', this.value, %d, 'yes')\">\n", 101 103 $_GET["fDateName"], $_GET["fIdx"], $newdatename, $_GET["fIdx"]); 104 102 105 if (strcmp($_GET["fDateValue"],"empty")!=0) 103 106 printf("<option value='empty'>%s</option>\n", $datename); -
trunk/www/db_po/po.js
r12641 r13322 906 906 if (val=="pulldown") 907 907 { 908 //alert("reset:"+datename+"-"+dateval+"-"+dateval2+"-"+idx); 908 /* 909 alert("reset:"+datename+"-"+dateval+"-"+dateval2+"-"+idx); 909 910 if (datename=="year") 910 911 { … … 936 937 else 937 938 get_dates("sec", "empty", "empty", idx); 939 */ 940 941 if (datename=="year") 942 { 943 get_dates("year", "empty", "empty", idx); 944 get_dates("month", "empty", "empty", idx); 945 } 946 if (datename=="year" || datename=="month") 947 get_dates("day", "empty", "empty", idx); 948 if (datename=="year" || datename=="month" || datename=="day") 949 get_dates("hour", "empty", "empty", idx); 950 if (datename=="year" || datename=="month" || datename=="day" || datename=="hour") 951 get_dates("min", "empty", "empty", idx); 952 if (datename=="year" || datename=="month" || datename=="day" || datename=="hour" || datename=="min") 953 get_dates("sec", "empty", "empty", idx); 938 954 } 939 955 if (val=="textinput")
Note:
See TracChangeset
for help on using the changeset viewer.