From: Ian Coleman Date: Wed, 16 Aug 2017 01:04:13 +0000 (+1000) Subject: Improve showing feedback for pending calculations X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=0eda54f5a7a05bcc6fb94b90f288c5f93d5cfd0b Improve showing feedback for pending calculations --- diff --git a/src/js/index.js b/src/js/index.js index 2e14a40..678d52b 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -188,7 +188,6 @@ function phraseChanged() { showPending(); - hideValidationError(); setMnemonicLanguage(); // Get the mnemonic phrase var phrase = DOM.phrase.val(); @@ -201,7 +200,6 @@ var passphrase = DOM.passphrase.val(); calcBip32RootKeyFromSeed(phrase, passphrase); calcForDerivationPath(); - hidePending(); } function delayedEntropyChanged() { @@ -277,10 +275,9 @@ } function calcForDerivationPath() { - showPending(); clearDerivedKeys(); clearAddressesList(); - hideValidationError(); + showPending(); // Don't show bip49 if it's selected but network doesn't support it if (bip49TabSelected() && !networkHasBip49()) { return; @@ -300,7 +297,6 @@ displayBip49Info(); } displayBip32Info(); - hidePending(); } function generateClicked() { @@ -607,17 +603,19 @@ for (var i=0; i