mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-22 21:39:28 +00:00
Monotone-Parent: 41860311e9a9d95e4e0a179f742a52d433d59d72
Monotone-Revision: b71cb031b6d81c362bbb5a411baf4cd30bcf1b01 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-06T17:44:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -79,7 +79,13 @@ function deleteEvent()
|
||||
var nodes = listOfSelection.getSelectedRows();
|
||||
|
||||
if (nodes.length > 0) {
|
||||
if (confirm(labels["appointmentDeleteConfirmation"].decodeEntities())) {
|
||||
var label = "";
|
||||
if (listOfSelection == $("tasksList"))
|
||||
label = labels["taskDeleteConfirmation"].decodeEntities();
|
||||
else
|
||||
label = labels["appointmentDeleteConfirmation"].decodeEntities();
|
||||
|
||||
if (confirm(label)) {
|
||||
if (document.deleteEventAjaxRequest) {
|
||||
document.deleteEventAjaxRequest.aborted = true;
|
||||
document.deleteEventAjaxRequest.abort();
|
||||
@@ -282,8 +288,7 @@ function restoreCurrentDaySelection(div)
|
||||
}
|
||||
|
||||
if (day
|
||||
&& day.substr(0, 6) == currentDay.substr(0, 6))
|
||||
{
|
||||
&& day.substr(0, 6) == currentDay.substr(0, 6)) {
|
||||
for (i = 0; i < elements.length; i++) {
|
||||
day = elements[i].getAttribute("day");
|
||||
if (day && day == currentDay) {
|
||||
@@ -342,7 +347,7 @@ function changeCalendarDisplay(time, newView)
|
||||
if (day)
|
||||
url += "?day=" + day;
|
||||
|
||||
if (newView)
|
||||
// if (newView)
|
||||
// log ("switching to view: " + newView);
|
||||
// log ("changeCalendarDisplay: " + url);
|
||||
|
||||
@@ -423,7 +428,7 @@ function calendarDisplayCallback(http)
|
||||
var hour = null;
|
||||
if (http.callbackData["hour"])
|
||||
hour = http.callbackData["hour"];
|
||||
if (hour)
|
||||
if (currentView != 'monthview')
|
||||
scrollDayView(hour);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user