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:
reed@reedloden.com 2008-05-07 03:14:51 -07:00
Родитель 43606af0cb
Коммит 4da02d7d4c
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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);
} }
}, },