Bug 436333-[Today Pane] New
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@251961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -412,12 +412,12 @@ function deleteSelectedItem(aDoNotConfirm) {
|
||||
|
||||
agendaListbox.createNewEvent =
|
||||
function createNewEvent(aEvent) {
|
||||
if (aEvent.target.localName == "richlistbox") {
|
||||
// Create new event for the date currently displayed in the agenda. Setting
|
||||
// isDate = true automatically makes the start time be the next full hour.
|
||||
var eventStart = agendaListbox.today.start.clone();
|
||||
eventStart.isDate = true;
|
||||
createEventWithDialog(getSelectedCalendar(), eventStart);
|
||||
if (!this.isEventListItem(aEvent.target)){
|
||||
// Create new event for the date currently displayed in the agenda. Setting
|
||||
// isDate = true automatically makes the start time be the next full hour.
|
||||
var eventStart = agendaListbox.today.start.clone();
|
||||
eventStart.isDate = true;
|
||||
createEventWithDialog(getSelectedCalendar(), eventStart);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user