mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 10:48:50 +00:00
See ChangeLog
Monotone-Parent: 45fc846cf2415007c8d3b6ea92634c86de44afa7 Monotone-Revision: 6619466490ad295840f40831afe06f17195670ca Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-06-20T21:17:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -227,9 +227,11 @@ function endDayAsShortString() {
|
||||
|
||||
function _getDate(which) {
|
||||
var date = window.timeWidgets[which]['date'].inputAsDate();
|
||||
var time = window.timeWidgets[which]['time'].value.split(":");
|
||||
date.setHours(time[0]);
|
||||
date.setMinutes(time[1]);
|
||||
var time = window.timeWidgets[which]['time'].value.match(/([0-9]{1,2}):?([0-9]{2})/);
|
||||
if (time) {
|
||||
date.setHours(time[1]);
|
||||
date.setMinutes(time[2]);
|
||||
}
|
||||
|
||||
return date;
|
||||
}
|
||||
@@ -287,7 +289,6 @@ function onAdjustTime(event) {
|
||||
window.timeWidgets['end']['time'].updateShadowValue();
|
||||
window.timeWidgets['start']['date'].updateShadowValue();
|
||||
window.timeWidgets['start']['time'].updateShadowValue();
|
||||
log ("end " + window.timeWidgets['end']['time'].value);
|
||||
if (window.timeWidgets['end']['time'].onChange) window.timeWidgets['end']['time'].onChange(); // method from SOGoTimePicker
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user