MDN wants to talk to developers like you:


setConsumeRollupEvent( consume )
Return type: no return value

Controls whether or not the event that caused the popup to be automatically dismissed (or "rolled up") should be consumed or be dispatched as a normal event. If a non-default behavior is desired, this method should be called immediately prior to calling openPopup or openPopupAtScreen.

Possible values for consume are:

The default for the current platform.
Consume the rollup event.
Don't consume the rollup event.
Note: This method did not work on Mac OS X prior to Gecko 1.9.2 (Firefox 3.6).

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,