mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Checked in patch for bug 230828: multiple calendars subscribed can cause
overwrite in "subscribed calendars" box
This commit is contained in:
parent
8e56a29f45
commit
ceb8298289
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user