mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
Bug 635375 - Preferences > add-ons > get add-ons 'go to page' disabled [r=dtownsend a=dtownsend]
This commit is contained in:
parent
bfdc0faf9f
commit
33b84944c7
@ -899,8 +899,9 @@ var AddonRepository = {
|
||||
let localName = node.localName;
|
||||
|
||||
// Handle case where the wanted string value is located in text content
|
||||
// but only if the content is not empty
|
||||
if (localName in STRING_KEY_MAP) {
|
||||
addon[STRING_KEY_MAP[localName]] = this._getTextContent(node);
|
||||
addon[STRING_KEY_MAP[localName]] = this._getTextContent(node) || addon[STRING_KEY_MAP[localName]];
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -79,6 +79,7 @@
|
||||
<!-- Test that learnmore is used as the add-on's homepageURL
|
||||
if there is no homepage defined -->
|
||||
<learnmore>http://localhost:4444/learnmore2.html</learnmore>
|
||||
<homepage/>
|
||||
<support>http://localhost:4444/support2.html</support>
|
||||
<contribution_data>
|
||||
<link>http://localhost:4444/contribution2.html</link>
|
||||
|
Loading…
Reference in New Issue
Block a user