commit c418c33563ecad1baa08f0894adb76b3e79ba4d5
parent 4265311d9cc643f0682f0441cc58e1aab4b84102
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 27 Apr 2016 04:57:21 +0200
install result
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/wallet-installation.html b/wallet-installation.html
@@ -34,11 +34,12 @@
function onSuccess() {
console.log("installation successful");
- location.reload();
+ document.getElementById("install-result").innerText = "(installation was successful)";
}
function onFailure(detail) {
console.error("installation failed:", detail);
+ document.getElementById("install-result").innerText = "(failed: " + detail + ")";
}
function installWallet() {
@@ -84,7 +85,7 @@
<li id="inline-install-chrome">from this page:
<button onclick="installWallet()" id="install-button">
install now
- </button>
+ </button><div id="install-result"></div>
</li>
</ul>
Wallets for other browsers will be provided in the near future.