mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Bug 343184 DnD month view: Drag and Drop of new All Day event opens Edit Event dialog, r=dmose
This commit is contained in:
parent
5f0e4bde46
commit
d54bf51f72
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user