Bug 343184 DnD month view: Drag and Drop of new All Day event opens Edit Event dialog, r=dmose

This commit is contained in:
jminta%gmail.com 2006-07-21 03:21:21 +00:00
parent 5f0e4bde46
commit d54bf51f72

View File

@ -94,7 +94,7 @@ var calendarViewController = {
// if we can modify this thing directly (e.g. just the time changed),
// then do so; otherwise pop up the dialog
var itemToEdit = getOccurrenceOrParent(aOccurrence);
if (aNewStartTime && aNewEndTime && !aNewStartTime.isDate && !aNewEndTime.isDate) {
if (aNewStartTime && aNewEndTime) {
var instance = itemToEdit.clone();