Checked in patch for bug 230828: multiple calendars subscribed can cause

overwrite in "subscribed calendars" box
This commit is contained in:
mostafah%oeone.com 2004-03-04 15:14:10 +00:00
parent 8e56a29f45
commit ceb8298289

View File

@ -351,7 +351,7 @@ calendarManager.prototype.nextCalendar = function calMan_getNextCalendar()
for (var count = 0; count < seq.length; count++ ) {
subject = seq[count].getSubject();
subject = subject.replace(/^.*calendar(\d+)$/, "$1");
if (subject > max) max = subject;
if (Number(subject) > max) max = Number(subject);
}
return ++max;