Monotone-Parent: feca1919ae107b140918af5831c9094fd2ceb325

Monotone-Revision: 96effe6b8b81620e6321b228cbab54c6d0ff3555

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-09-19T20:00:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2007-09-19 20:00:10 +00:00
parent 5b7599797c
commit 80da504636
2 changed files with 2 additions and 8 deletions

View file

@ -358,7 +358,7 @@
{
NSArray *calendars;
calendars = [[self calendarList] valueForKey: @"folder"];
calendars = [[self calendarList] valueForKey: @"nameInContainer"];
return [calendars componentsJoinedByString: @","];
}

View file

@ -74,13 +74,7 @@ function onChangeCalendar(event) {
var form = document.forms["editform"];
var urlElems = form.getAttribute("action").split("/");
var choice = calendars[this.value];
var ownerLogin;
if (choice.indexOf(":") > -1)
ownerLogin = choice.split(":")[0];
else
ownerLogin = UserLogin;
urlElems[urlElems.length-4] = ownerLogin;
urlElems[urlElems.length-3] = choice;
form.setAttribute("action", urlElems.join("/"));
}