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 920a4326d1087b174c2fa2b9a8358e12c697022c
parent 19644 d839ce2da8ca71a80c45c8952a09df5259e94b33
child 19646 d56e5271beeee81ac39122cd1cf21aadef1d0529
push id2346
push usermak77@bonardo.net
push dateWed, 24 Sep 2008 18:31:11 +0000
treeherdermozilla-central@920a4326d108 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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;