From 1c4409d85c16976c5b998e02d8b99810417ec539 Mon Sep 17 00:00:00 2001 From: Infocatcher Date: Wed, 29 Aug 2012 13:16:42 +0400 Subject: [PATCH] Fix missing aEvent in securityCheck() --- modules/tabbarDNDObserver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tabbarDNDObserver.js b/modules/tabbarDNDObserver.js index 60ca6e88..5f311535 100644 --- a/modules/tabbarDNDObserver.js +++ b/modules/tabbarDNDObserver.js @@ -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) {