mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 15:12:44 +00:00
Monotone-Parent: b4dce0cefe0dcb2486fbf6db19f6628a53b18241
Monotone-Revision: 2f18ff528db0316441209caab6d33ab4449bbe56 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-03-18T15:00:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -37,7 +37,7 @@ function newEvent(sender, type) {
|
||||
if (params.length > 0)
|
||||
urlstr += "?" + params.join("&");
|
||||
|
||||
window.open(urlstr, "", "width=620,height=600,resizable=0");
|
||||
window.open(urlstr, "", "width=463,height=600,resizable=0");
|
||||
|
||||
return false; /* stop following the link */
|
||||
}
|
||||
@@ -51,8 +51,7 @@ function _editEventId(id, owner) {
|
||||
var urlstr = urlBase + id + "/edit";
|
||||
|
||||
var win = window.open(urlstr, "SOGo_edit_" + id,
|
||||
"width=620,height=600,resizable=0,scrollbars=0,toolbar=0," +
|
||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
"width=463,height=600,resizable=0");
|
||||
win.focus();
|
||||
}
|
||||
|
||||
@@ -542,24 +541,24 @@ function calendarDisplayCallback(http)
|
||||
log ("ajax fuckage");
|
||||
}
|
||||
|
||||
function assignCalendar(name)
|
||||
{
|
||||
var node = $(name);
|
||||
|
||||
node.calendar = new skycalendar(node);
|
||||
node.calendar.setCalendarPage(ResourcesURL + "/skycalendar.html");
|
||||
var dateFormat = node.getAttribute("dateFormat");
|
||||
if (dateFormat)
|
||||
node.calendar.setDateFormat(dateFormat);
|
||||
function assignCalendar(name) {
|
||||
if (typeof(skycalendar) != "undefined") {
|
||||
var node = $(name);
|
||||
|
||||
node.calendar = new skycalendar(node);
|
||||
node.calendar.setCalendarPage(ResourcesURL + "/skycalendar.html");
|
||||
var dateFormat = node.getAttribute("dateFormat");
|
||||
if (dateFormat)
|
||||
node.calendar.setDateFormat(dateFormat);
|
||||
}
|
||||
}
|
||||
|
||||
function popupCalendar(node)
|
||||
{
|
||||
var nodeId = node.getAttribute("inputId");
|
||||
var input = $(nodeId);
|
||||
input.calendar.popup();
|
||||
function popupCalendar(node) {
|
||||
var nodeId = node.getAttribute("inputId");
|
||||
var input = $(nodeId);
|
||||
input.calendar.popup();
|
||||
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
function onAppointmentContextMenu(event, element)
|
||||
|
||||
Reference in New Issue
Block a user