+ notify wallet created success

! bug-fixes
This commit is contained in:
Taegus
2018-12-17 17:46:04 +01:00
parent 1468eba97c
commit a6231ce16a
2 changed files with 10 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ $(document).on("render_send", function() {
iziToast.success({
title: 'Sent',
message: 'Transaction was succesfully sent to the chain',
message: 'Transaction was successfully sent to the chain',
position: 'topRight',
timeout: 5000
});

View File

@@ -87,6 +87,13 @@ $(document).on("render_wallets", function() {
function(account) {
EthoWallets.addAddressToList(account);
EthoWallets.renderWalletsState();
iziToast.success({
title: 'Created',
message: 'New wallet was successfully created',
position: 'topRight',
timeout: 5000
});
}
);
}
@@ -96,12 +103,11 @@ $(document).on("render_wallets", function() {
doCreateNewWallet();
});
$("dlgCreateWalletPassword").off('keypress').on('keypress', function(e) {
$("#dlgCreateWalletPassword").off('keypress').on('keypress', function(e) {
if(e.which == 13) {
doCreateNewWallet();
}
});
});
$(".btnChangWalletName").off('click').on('click', function() {