зеркало из https://github.com/mozilla/pjs.git
Fixing cut.
This commit is contained in:
Родитель
dde77118cd
Коммит
d16c4c1a53
|
@ -120,7 +120,9 @@ function cutToClipboard( /* calendarEventArray */)
|
|||
var calendarEventArray = gCalendarWindow.EventSelection.selectedEvents;
|
||||
|
||||
if( copyToClipboard( calendarEventArray ) )
|
||||
{
|
||||
unifinderDeleteCommand( true ); // deletes all selected events without prompting.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -182,7 +184,7 @@ function copyToClipboard( calendarEventArray )
|
|||
|
||||
clipboard.setData( trans, null, Components.interfaces.nsIClipboard.kGlobalClipboard );
|
||||
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,7 +120,9 @@ function cutToClipboard( /* calendarEventArray */)
|
|||
var calendarEventArray = gCalendarWindow.EventSelection.selectedEvents;
|
||||
|
||||
if( copyToClipboard( calendarEventArray ) )
|
||||
{
|
||||
unifinderDeleteCommand( true ); // deletes all selected events without prompting.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -182,7 +184,7 @@ function copyToClipboard( calendarEventArray )
|
|||
|
||||
clipboard.setData( trans, null, Components.interfaces.nsIClipboard.kGlobalClipboard );
|
||||
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче