Fix missing aEvent in securityCheck()

This commit is contained in:
Infocatcher 2012-08-29 13:16:42 +04:00
parent a516ba3ce6
commit 1c4409d85c

View File

@ -966,7 +966,7 @@ catch(e) {
var uris = this.retrieveURLsFromDataTransfer(aEvent.dataTransfer);
uris.forEach(function(aURI) {
if (aURI.indexOf(this.BOOKMARK_FOLDER) != 0)
this.securityCheck(aURI);
this.securityCheck(aURI, aEvent);
}, this);
var sv = this.treeStyleTab;
@ -1029,7 +1029,7 @@ catch(e) {
}
}
},
securityCheck : function TabbarDND_securityCheck(aURI)
securityCheck : function TabbarDND_securityCheck(aURI, aEvent)
{
let session = this.treeStyleTab.currentDragSession;
let (sourceDoc = session ? session.sourceDocument : null) {