Commit b181ab33 authored by dietrich@mozilla.com's avatar dietrich@mozilla.com
Browse files

Bug 431173 - On Drag start Bookmark item in right pane of Library window, list...

Bug 431173 - On Drag start Bookmark item in right pane of Library window, list items are shifted. (for marco@supereva.it, r=mano, ui-r+a=beltzner)
parent 777d9498
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -645,7 +645,6 @@ var PlacesOrganizer = {
 
    if (aSelectedNode && !PlacesUtils.nodeIsSeparator(aSelectedNode)) {
      detailsDeck.selectedIndex = 1;
      infoBox.hidden = false;
      // Using the concrete itemId is arguably wrong. The bookmarks API
      // does allow setting properties for folder shortcuts as well, but since
      // the UI does not distinct between the couple, we better just show
@@ -666,9 +665,6 @@ var PlacesOrganizer = {
    }
    else {
      detailsDeck.selectedIndex = 0;
      // The details deck has the height of its biggest child, so we hide the
      // infoBox to allow it shrinking when there is no selection.
      infoBox.hidden = true;
      var selectItemDesc = document.getElementById("selectItemDescription");
      var itemsCountLabel = document.getElementById("itemsCountText");
      var rowCount = this._content.treeBoxObject.view.rowCount;
+2 −1
Original line number Diff line number Diff line
@@ -493,7 +493,7 @@
              </treecols>
              <treechildren flex="1"/>
            </tree>
            <hbox id="infoPaneBox">
            <hbox id="infoPaneBox" style="height: 11em;">
              <deck flex="1" id="detailsDeck">
                <vbox id="itemsCountBox" align="center">
                  <spacer flex="3"/>
@@ -506,6 +506,7 @@
                </vbox>
                <vbox id="infoBox" minimal="true">
                  <vbox id="editBookmarkPanelContent"/>
                  <spacer flex="1"/>
                  <hbox>
                    <button type="image" id="infoBoxExpander"
                            lesslabel="&detailsPane.less.label;"