mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-07 11:29:43 +00:00
Monotone-Parent: ec22eec31a634d17211dbfb68bdc49ab1baca4aa
Monotone-Revision: 0fe27b5739f7397e525075ec4060c837ba896b62 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:55:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -250,6 +250,7 @@ function appointmentsListCallback(http)
|
||||
var params = parseQueryParameters(http.callbackData);
|
||||
sortKey = params["sort"];
|
||||
sortOrder = params["desc"];
|
||||
configureSortableTableHeaders();
|
||||
}
|
||||
else
|
||||
log ("ajax fuckage");
|
||||
@@ -503,15 +504,13 @@ function onAppointmentContextMenuHide(event)
|
||||
}
|
||||
}
|
||||
|
||||
function onAppointmentsSelectionChange()
|
||||
{
|
||||
function onAppointmentsSelectionChange() {
|
||||
listOfSelection = $("appointmentsList");
|
||||
listOfSelection.removeClassName("_unfocused");
|
||||
$("tasksList").addClassName("_unfocused");
|
||||
}
|
||||
|
||||
function onTasksSelectionChange()
|
||||
{
|
||||
function onTasksSelectionChange() {
|
||||
listOfSelection = $("tasksList");
|
||||
listOfSelection.removeClassName("_unfocused");
|
||||
$("appointmentsList").addClassName("_unfocused");
|
||||
@@ -522,10 +521,9 @@ function _loadAppointmentHref(href) {
|
||||
document.appointmentsListAjaxRequest.aborted = true;
|
||||
document.appointmentsListAjaxRequest.abort();
|
||||
}
|
||||
url = CalendarBaseURL + href;
|
||||
|
||||
var url = CalendarBaseURL + href;
|
||||
document.appointmentsListAjaxRequest
|
||||
= triggerAjaxRequest(url, appointmentsListCallback, href);
|
||||
= triggerAjaxRequest(href, appointmentsListCallback, href);
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -544,8 +542,11 @@ function _loadTasksHref(href) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onHeaderClick(node) {
|
||||
return _loadAppointmentHref(node.getAttribute("href"));
|
||||
function onHeaderClick(event) {
|
||||
log("onHeaderClick: " + this.link);
|
||||
_loadAppointmentHref(this.link);
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function refreshAppointments() {
|
||||
@@ -965,3 +966,19 @@ function browseUrl(anchor, event) {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function configureDragHandles() {
|
||||
var handle = $("verticalDragHandle");
|
||||
if (handle) {
|
||||
handle.addInterface(SOGoDragHandlesInterface);
|
||||
handle.leftBlock=$("leftPanel");
|
||||
handle.rightBlock=$("rightPanel");
|
||||
}
|
||||
|
||||
handle = $("rightDragHandle");
|
||||
if (handle) {
|
||||
handle.addInterface(SOGoDragHandlesInterface);
|
||||
handle.upperBlock=$("appointmentsListView");
|
||||
handle.lowerBlock=$("calendarView");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user