зеркало из https://github.com/mozilla/gecko-dev.git
eat drag gesture events for now. r=saari
This commit is contained in:
Родитель
ce0c4e4d6a
Коммит
ad4a38b0d2
|
@ -799,6 +799,10 @@ nsTextEditorDragListener::DragGesture(nsIDOMEvent* aDragEvent)
|
|||
{
|
||||
// ...figure out if a drag should be started...
|
||||
|
||||
// ...until we have this implemented, just eat the drag event so it
|
||||
// ...doesn't leak out into the rest of the app/handlers.
|
||||
aDragEvent->PreventBubble();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -799,6 +799,10 @@ nsTextEditorDragListener::DragGesture(nsIDOMEvent* aDragEvent)
|
|||
{
|
||||
// ...figure out if a drag should be started...
|
||||
|
||||
// ...until we have this implemented, just eat the drag event so it
|
||||
// ...doesn't leak out into the rest of the app/handlers.
|
||||
aDragEvent->PreventBubble();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче