From d84f0d56a6f601ed8531423ce6ef55a2f23225ed Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Thu, 2 Feb 2017 21:17:29 +1300 Subject: [PATCH] send form steps code updated --- assets/scripts/dashboard.js | 11 +++++++++++ index.html | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/assets/scripts/dashboard.js b/assets/scripts/dashboard.js index 356f5eb..3811958 100644 --- a/assets/scripts/dashboard.js +++ b/assets/scripts/dashboard.js @@ -230,6 +230,11 @@ var Dashboard = function() { var tmp_send_total_amount = $('#edexcoin_total_value').text(); $('#edexcoin-send-screen').hide(); $('#edexcoin-send-confirm-screen').show(); + $('#edexcoin_send_step_1').removeClass( " current" ).addClass( "" ); + $('#edexcoin_send_step_2').removeClass( "" ).addClass( " current" ); + $('#edexcoin_send_step_3').removeClass( " current" ).addClass( "" ); + + NProgress.done(); } }); @@ -261,6 +266,9 @@ var Dashboard = function() { $('#edexcoin-send-confirm-screen').hide(); $('#edexcoin-send-txdetails-screen').show(); edexcoin_send_form_validator.resetForm(); + $('#edexcoin_send_step_1').removeClass( " current" ).addClass( "" ); + $('#edexcoin_send_step_2').removeClass( " current" ).addClass( "" ); + $('#edexcoin_send_step_3').removeClass( "" ).addClass( " current" ); }); $('#edexcoin_send_coins_back_btn').click(function() { @@ -271,6 +279,9 @@ var Dashboard = function() { var tmp_send_to_addr = ''; var tmp_send_total_amount = ''; edexcoin_send_form_validator.resetForm(); + $('#edexcoin_send_step_1').removeClass( "" ).addClass( " current" ); + $('#edexcoin_send_step_2').removeClass( " current" ).addClass( "" ); + $('#edexcoin_send_step_3').removeClass( " current" ).addClass( "" ); }); $('#edexcoin_send_coins_anothertx_btn').click(function() { $( "#edexcoin_send_coins_back_btn" ).trigger( "click" ); diff --git a/index.html b/index.html index 4a8abda..7d54f1b 100755 --- a/index.html +++ b/index.html @@ -807,21 +807,21 @@
-
+
1
Fill Send Form

Fill sending transaction details

-
+
2
Confirming

Confirm if detials are correct

-
+
3
Processing Tx