mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 989009 - should theme live bookmark submenu items correctly, r=mak
--HG-- extra : rebase_source : 2f15dd69b48e0e5b81a84f74224c8c3dcc5c66ec
This commit is contained in:
parent
41f2ee45ee
commit
97b37465c9
@ -394,6 +394,9 @@ PlacesViewBase.prototype = {
|
||||
// Add "Open (Feed Name)" menuitem.
|
||||
aPopup._siteURIMenuitem = document.createElement("menuitem");
|
||||
aPopup._siteURIMenuitem.className = "openlivemarksite-menuitem";
|
||||
if (typeof this.options.extraClasses.entry == "string") {
|
||||
aPopup._siteURIMenuitem.classList.add(this.options.extraClasses.entry);
|
||||
}
|
||||
aPopup._siteURIMenuitem.setAttribute("targetURI", siteUrl);
|
||||
aPopup._siteURIMenuitem.setAttribute("oncommand",
|
||||
"openUILink(this.getAttribute('targetURI'), event);");
|
||||
@ -429,6 +432,9 @@ PlacesViewBase.prototype = {
|
||||
// Create the status menuitem and cache it in the popup object.
|
||||
statusMenuitem = document.createElement("menuitem");
|
||||
statusMenuitem.className = "livemarkstatus-menuitem";
|
||||
if (typeof this.options.extraClasses.entry == "string") {
|
||||
statusMenuitem.classList.add(this.options.extraClasses.entry);
|
||||
}
|
||||
statusMenuitem.setAttribute("disabled", true);
|
||||
aPopup._statusMenuitem = statusMenuitem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user