mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-14 01:38:51 +00:00
Monotone-Parent: 13eaecae6fbd75055e0f3e18c4338181bf34accb
Monotone-Revision: 69ec7c5e5b614344af143a54ceb32686d3daa756 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-05T21:52:52 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,6 +8,9 @@ var currentView = 'dayview';
|
||||
|
||||
function newEvent(sender) {
|
||||
var day = sender.getAttribute("day");
|
||||
if (!day)
|
||||
day = currentDay;
|
||||
|
||||
var hour = sender.getAttribute("hour");
|
||||
var urlstr = (ApplicationBaseURL + "new"
|
||||
+ "?day=" + day
|
||||
@@ -84,13 +87,7 @@ function onSelectAll() {
|
||||
}
|
||||
|
||||
function displayAppointment(event, sender) {
|
||||
var aptId = sender.getAttribute("aptId");
|
||||
var urlstr = ApplicationBaseURL + aptId + "/edit";
|
||||
|
||||
var win = window.open(urlstr, "SOGo_view_" + aptId,
|
||||
"width=560,height=170,resizable=1,scrollbars=1,toolbar=0," +
|
||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
win.focus();
|
||||
_editEventId(sender.getAttribute("aptId"));
|
||||
|
||||
event.cancelBubble = true;
|
||||
event.returnValue = false;
|
||||
|
||||
Reference in New Issue
Block a user