зеркало из https://github.com/mozilla/gecko-dev.git
Bug 430551 - "bookmarks menu popup stays open after dragging bookmark over it" (set attribute "autoopened" on bookmarks menu when dragging) [p=jdarmochwal@gmx.de (Jan Darmochwal) r=Mano a1.9=beltzner]
This commit is contained in:
Родитель
43606af0cb
Коммит
4da02d7d4c
|
@ -914,6 +914,7 @@ var PlacesMenuDNDController = {
|
||||||
delete this._timers.loadTime;
|
delete this._timers.loadTime;
|
||||||
if (event.target.id == "bookmarksMenu") {
|
if (event.target.id == "bookmarksMenu") {
|
||||||
// If this is the bookmarks menu, tell its menupopup child to show.
|
// If this is the bookmarks menu, tell its menupopup child to show.
|
||||||
|
event.target.lastChild.setAttribute("autoopened", "true");
|
||||||
event.target.lastChild.showPopup(event.target.lastChild);
|
event.target.lastChild.showPopup(event.target.lastChild);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче