[fix bug 828245] "New event" functionality broken by Bug 778865
Merge pull request #324 from johngian/828245

[fix bug 828245] "New event" functionality broken by Bug 778865