Bug 420449 - Enable shift + drag for folders in bookmarks toolbar on Linux, r=mano SEAMONKEY_2_0a1_BUILD1 SEAMONKEY_2_0a1_RELEASE
authorMarco Bonardo <mak77@bonardo.net>
Wed, 24 Sep 2008 20:29:52 +0200
changeset 19645 920a4326d108
parent 19644 d839ce2da8ca
child 19646 d56e5271beee
push idunknown
push userunknown
push dateunknown
reviewersmano
bugs420449
milestone1.9.1b1pre
Bug 420449 - Enable shift + drag for folders in bookmarks toolbar on Linux, r=mano
browser/components/places/content/toolbar.xml
--- a/browser/components/places/content/toolbar.xml
+++ b/browser/components/places/content/toolbar.xml
@@ -1192,17 +1192,17 @@
             !PlacesControllerDragHelper.getSession())
           this._openedMenuButton = null;
       ]]></handler>
 
       <handler event="mousedown"><![CDATA[
         // Allow drag and drop of folders in Linux.
         // We must prevent popupshowing event from firing when shift is pressed.
         var target = event.originalTarget;
-        if (event.button == 1 && event.shiftKey &&
+        if (event.button == 0 && event.shiftKey &&
             target.localName == "toolbarbutton" && target.type == "menu")
           this._draggingContainer = true;
       ]]></handler>
 
       <handler event="mousemove"><![CDATA[
         if (this._openedMenuButton == null ||
             PlacesControllerDragHelper.getSession())
           return;