From 722ef42fe4db33b3d049510aa39f2b1241b7c000 Mon Sep 17 00:00:00 2001 From: AaronJamesY Date: Fri, 10 Feb 2017 20:17:04 +0000 Subject: [PATCH] Amended Barclays login script --- BankingBot/ScriptManagement/Scripts/barclays-login.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BankingBot/ScriptManagement/Scripts/barclays-login.js b/BankingBot/ScriptManagement/Scripts/barclays-login.js index 3d93ed9..7f2ef19 100644 --- a/BankingBot/ScriptManagement/Scripts/barclays-login.js +++ b/BankingBot/ScriptManagement/Scripts/barclays-login.js @@ -16,7 +16,9 @@ $("#membership-num").val(values.membershipNumber); } else if (values.cardNumber) { - $("#card-radio").click(); + + $("#debitCardStep1").val("Testing"); + $("#debitCardStep1").hide(); // Populate card number text boxes var cardNumberSplit = accountHelpers.splitCardNumber(values.cardNumber); @@ -25,6 +27,7 @@ $("#debitCardStep" + (i + 1)).val(cardNumberSplit[i]); } - alert("Working!"); + $("#card-radio").click(); + } })();