Monotone-Parent: 34dbce3026b164b07c558711781fcfb5cde0fcff
Monotone-Revision: 1d653d4f984b0eeefbcd5014a68753ef3d761b3c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-11-04T19:55:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-11-04 19:55:50 +00:00
parent 07225fe588
commit 7a2eff59ea
3 changed files with 28 additions and 9 deletions

View File

@@ -395,6 +395,9 @@ function onViewEventCallback(http) {
div.show();
}
}
else {
log("onViewEventCallback ajax error:" + http.url);
}
}
function editDoubleClickedEvent(event) {
@@ -707,8 +710,11 @@ function restoreCurrentDaySelection(div) {
function changeDateSelectorDisplay(day, keepCurrentDay) {
var url = ApplicationBaseURL + "dateselector";
if (day)
if (day) {
if (day.length < 8)
day += "01";
url += "?day=" + day;
}
if (day != currentDay) {
if (!keepCurrentDay)
@@ -781,6 +787,9 @@ function changeCalendarDisplay(data, newView) {
return false;
}
else if (day.length == 6) {
day += "01";
}
}
url += "?day=" + day;
}