зеркало из https://github.com/mozilla/pjs.git
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)
This commit is contained in:
Родитель
e9aeb9c922
Коммит
4ace5362c0
|
@ -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;
|
||||
|
|
|
@ -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;"
|
||||
|
|
Загрузка…
Ссылка в новой задаче