diff --git a/mobile/chrome/content/bindings/extensions.xml b/mobile/chrome/content/bindings/extensions.xml index 96b4490031b..7f0720d1ed7 100644 --- a/mobile/chrome/content/bindings/extensions.xml +++ b/mobile/chrome/content/bindings/extensions.xml @@ -110,11 +110,10 @@ - - - - + + diff --git a/mobile/chrome/content/extensions.js b/mobile/chrome/content/extensions.js index 311689e8028..f50d0f4228b 100644 --- a/mobile/chrome/content/extensions.js +++ b/mobile/chrome/content/extensions.js @@ -458,14 +458,22 @@ var ExtensionsView = { continue; let listitem = this._createItem(addon, "search"); - listitem.setAttribute("description", addon.description); - listitem.setAttribute("thumbnailURL", addon.thumbnailURL); + listitem.setAttribute("description", addon.summary); + listitem.setAttribute("homepageURL", addon.homepageURL); listitem.setAttribute("xpiURL", addon.xpiURL); listitem.setAttribute("xpiHash", addon.xpiHash); this._list.appendChild(listitem); } }, + showPage: function ev_showPage(aItem) { + let uri = aItem.getAttribute("homepageURL"); + if (uri) { + Browser.addTab(uri, true); + BrowserUI.hidePanel(); + } + }, + resetSearch: function ev_resetSearch() { document.getElementById("addons-repo-mode").value = "recommended"; this.toggleMode(); diff --git a/mobile/locales/en-US/chrome/browser.dtd b/mobile/locales/en-US/chrome/browser.dtd index 8bfacb61fd8..4046860e1e9 100644 --- a/mobile/locales/en-US/chrome/browser.dtd +++ b/mobile/locales/en-US/chrome/browser.dtd @@ -62,6 +62,7 @@ +