mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-24 12:55:24 +00:00
Monotone-Parent: 4b2181d43537a29e80a258caea24faf48661e9f8
Monotone-Revision: a1a349d673dc9306b189e8b017ab7d5af8fdd215 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-05T19:19:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -250,21 +250,21 @@ function onDaySelect(node) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onDateSelectorGotoMonth(node) {
|
||||
var day = node.getAttribute("date");
|
||||
function onDateSelectorGotoMonth(event) {
|
||||
var day = this.getAttribute("date");
|
||||
|
||||
changeDateSelectorDisplay(day, true);
|
||||
changeDateSelectorDisplay(day, true);
|
||||
|
||||
return false;
|
||||
Event.stop(event);
|
||||
}
|
||||
|
||||
function onCalendarGotoDay(node) {
|
||||
var day = node.getAttribute("date");
|
||||
|
||||
changeDateSelectorDisplay(day);
|
||||
changeCalendarDisplay( { "day": day } );
|
||||
|
||||
return false;
|
||||
var day = node.getAttribute("date");
|
||||
|
||||
changeDateSelectorDisplay(day);
|
||||
changeCalendarDisplay( { "day": day } );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function gotoToday() {
|
||||
@@ -280,6 +280,8 @@ function setDateSelectorContent(content) {
|
||||
div.innerHTML = content;
|
||||
if (currentDay.length > 0)
|
||||
restoreCurrentDaySelection(div);
|
||||
|
||||
initDateSelectorEvents();
|
||||
}
|
||||
|
||||
function dateSelectorCallback(http) {
|
||||
@@ -289,7 +291,6 @@ function dateSelectorCallback(http) {
|
||||
var content = http.responseText;
|
||||
setDateSelectorContent(content);
|
||||
cachedDateSelectors[http.callbackData] = content;
|
||||
initDateSelectorEvents();
|
||||
}
|
||||
else
|
||||
log ("dateSelectorCallback Ajax error");
|
||||
|
||||
Reference in New Issue
Block a user