web/data/cubicweb.calendar.js
branchtls-sprint
changeset 1419 7ff24154351d
parent 0 b97547f5f1fa
child 3096 8ee9529d8367
equal deleted inserted replaced
1417:06af20e663f2 1419:7ff24154351d
   233     var input = getNode(cal.inputId);
   233     var input = getNode(cal.inputId);
   234     // XXX: the use of innerHTML might cause problems, but it seems to be
   234     // XXX: the use of innerHTML might cause problems, but it seems to be
   235     //      the only way understood by both IE and Mozilla. Otherwise,
   235     //      the only way understood by both IE and Mozilla. Otherwise,
   236     //      IE accepts innerText and mozilla accepts textContent
   236     //      IE accepts innerText and mozilla accepts textContent
   237     var selectedDate = new Date(cal.year, cal.month, cell.innerHTML, 12);
   237     var selectedDate = new Date(cal.year, cal.month, cell.innerHTML, 12);
   238     var xxx = remote_exec("format_date", toISOTimestamp(selectedDate));
   238     var xxx = remoteExec("format_date", toISOTimestamp(selectedDate));
   239     input.value = xxx;
   239     input.value = xxx;
   240     cal.hide();
   240     cal.hide();
   241 }
   241 }
   242 
   242 
   243 function whichElement(e)
   243 function whichElement(e)