Monotone-Parent: b71cb031b6d81c362bbb5a411baf4cd30bcf1b01

Monotone-Revision: f0e01017c45580ffb00a3ec0ea376689e815bd26

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-07T16:13:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-07 16:13:03 +00:00
parent 53d90d404c
commit 0885f51b6f
10 changed files with 221 additions and 25 deletions
+8 -6
View File
@@ -24,12 +24,14 @@ function newEvent(sender, type) {
day = currentDay;
var hour = sender.getAttribute("hour");
if (!hour)
hour = '0800';
var urlstr = (ApplicationBaseURL + "new"
+ type
+ "?day=" + day
+ "&hm=" + hour);
var urlstr = ApplicationBaseURL + "new" + type;
var params = new Array();
if (day)
params.push("day=" + day);
if (hour)
params.push("hm=" + hour);
if (params.length > 0)
urlstr += "?" + params.join("&");
window.open(urlstr, "", "width=620,height=600,resizable=0");