dndDefaultHandler.js File Reference

Go to the source code of this file.

Functions

 if (typeof(Ci)=="undefined") var Ci
 
window addEventListener ("unload", dndDefaultHandler_module.onUnload, false)
 

Variables

dndDefaultHandler_module init_once = 0
 
dndDefaultHandler_module deinit_once = 0
 
dndDefaultHandler_module onDragOver
 
var SBDropObserver
 

Function Documentation

window addEventListener ( "unload"  ,
dndDefaultHandler_module.  onUnload,
false   
)
if (   typeof(Ci) = = "undefined")

Definition at line 40 of file dndDefaultHandler.js.

Variable Documentation

dndDefaultHandler_module deinit_once = 0

Definition at line 47 of file dndDefaultHandler.js.

dndDefaultHandler_module init_once = 0

Definition at line 46 of file dndDefaultHandler.js.

dndDefaultHandler_module onDragOver
Initial value:
= function(event) { nsDragAndDrop.dragOver( event, SBDropObserver ) }
dndDefaultHandler_module.onDragDrop = function(event) { nsDragAndDrop.drop( event, SBDropObserver ) }
dndDefaultHandler_module.onLoad = function(event)
{
if (dndDefaultHandler_module.init_once++) { dump("WARNING: dndDefaultHandler_module double init!!\n"); return; }
document.addEventListener( "dragover", dndDefaultHandler_module.onDragOver, false );
document.addEventListener( "dragdrop", dndDefaultHandler_module.onDragDrop, false );
}
dndDefaultHandler_module.onUnload = function()
{
if (dndDefaultHandler_module.deinit_once++) { dump("WARNING: dndDefaultHandler_module double deinit!!\n"); return; }
document.removeEventListener( "dragover", dndDefaultHandler_module.onDragOver, false );
document.removeEventListener( "dragdrop", dndDefaultHandler_module.onDragDrop, false );
window.removeEventListener("load", dndDefaultHandler_module.onLoad, false);
window.removeEventListener("unload", dndDefaultHandler_module.onUnload, false);
}
window.addEventListener("load", dndDefaultHandler_module.onLoad, false)
var event
var SBDropObserver
let window

Definition at line 49 of file dndDefaultHandler.js.

var SBDropObserver

Definition at line 71 of file dndDefaultHandler.js.