mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Added ifdef for installing DragListener
This commit is contained in:
parent
52fabe8f5c
commit
f449ed62cf
@ -311,7 +311,9 @@ NS_IMETHODIMP nsTextEditor::Init(nsIDOMDocument *aDoc, nsIPresShell *aPresShell)
|
||||
}
|
||||
//cmanske: Shouldn't we check result from this?
|
||||
erP->AddEventListenerByIID(mKeyListenerP, kIDOMKeyListenerIID);
|
||||
//erP->AddEventListenerByIID(mDragListenerP, kIDOMDragListenerIID);
|
||||
#ifdef NEW_DRAG_AND_DROP
|
||||
erP->AddEventListenerByIID(mDragListenerP, kIDOMDragListenerIID);
|
||||
#endif
|
||||
erP->AddEventListenerByIID(mMouseListenerP, kIDOMMouseListenerIID);
|
||||
|
||||
erP->AddEventListenerByIID(mTextListenerP,kIDOMTextListenerIID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user