From d3380231f04692471dd2e809f0b6172349c088ab Mon Sep 17 00:00:00 2001 From: "jag%tty.nl" Date: Wed, 22 Aug 2007 05:06:11 +0000 Subject: [PATCH] Bug 383252: Cannot drag / drop URL or link onto tabbar, r=mconnor When SeaMonkey switched to toolkit's nsDragAndDrop.js, it lost the dragDropSecurityCheck method, which for SM was on nsDragAndDrop, but for FF was on tabbrowser. Moving that method from tabbrowser to toolkit's nsDragAndDrop.js, and cleaning it up a little. --- browser/base/content/tabbrowser.xml | 48 ++--------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 82a5f0881d5..18cfe83ffa0 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1912,7 +1912,7 @@ /^\s*(javascript|data):/.test(url)) return; - this.dragDropSecurityCheck(aEvent, aDragSession, url); + nsDragAndDrop.dragDropSecurityCheck(aEvent, aDragSession, url); var bgLoad = true; try { @@ -2310,51 +2310,7 @@