From 43273a5ed2a6641988aafa55d67b8979897e36d5 Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Wed, 23 Oct 2013 11:14:11 +0100 Subject: [PATCH] Bug 880281 - Make Marketplace more discoverable in about:apps. r=mfinkle --- mobile/android/chrome/content/aboutApps.js | 4 +-- mobile/android/chrome/content/aboutApps.xhtml | 15 +++++++---- .../locales/en-US/chrome/aboutApps.dtd | 7 +---- mobile/android/themes/core/aboutAddons.css | 17 ------------ mobile/android/themes/core/aboutApps.css | 27 ++++++++----------- mobile/android/themes/core/aboutBase.css | 17 ++++++++++++ 6 files changed, 41 insertions(+), 46 deletions(-) diff --git a/mobile/android/chrome/content/aboutApps.js b/mobile/android/chrome/content/aboutApps.js index 1482f0cc0c8..fce02de7a66 100644 --- a/mobile/android/chrome/content/aboutApps.js +++ b/mobile/android/chrome/content/aboutApps.js @@ -140,7 +140,7 @@ function onInstall(aEvent) { return; addApplication(aEvent.application); - document.getElementById("noapps").className = "hidden"; + document.getElementById("main-container").classList.remove("hidden"); } function onUninstall(aEvent) { @@ -149,6 +149,6 @@ function onUninstall(aEvent) { let parent = node.parentNode; parent.removeChild(node); if (!parent.firstChild) - document.getElementById("noapps").className = ""; + document.getElementById("main-container").classList.add("hidden"); } } diff --git a/mobile/android/chrome/content/aboutApps.xhtml b/mobile/android/chrome/content/aboutApps.xhtml index f1937ea3d66..03bb27225d0 100644 --- a/mobile/android/chrome/content/aboutApps.xhtml +++ b/mobile/android/chrome/content/aboutApps.xhtml @@ -36,17 +36,22 @@
&aboutApps.header;
-
+
-
- + +