From 8b46bdd9a159875a8a646e2d3bb95877583515da Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Sun, 25 Feb 2018 15:17:28 -0800 Subject: [PATCH] make bank link testable in staging --- scripts/system/commerce/wallet.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/system/commerce/wallet.js b/scripts/system/commerce/wallet.js index 51b81b76bf..bda668246a 100644 --- a/scripts/system/commerce/wallet.js +++ b/scripts/system/commerce/wallet.js @@ -689,7 +689,11 @@ sendMoneyParticleEffectUpdateTimer = Script.setInterval(updateSendMoneyParticleEffect, SEND_MONEY_PARTICLE_TIMER_UPDATE); break; case 'transactionHistory_goToBank': - Window.location = "hifi://BankOfHighFidelity"; + if (Account.metaverseServerURL.indexOf("staging") >= 0) { + Window.location = "hifi://hifiqa-master-metaverse-staging"; // So that we can test in staging. + } else { + Window.location = "hifi://BankOfHighFidelity"; + } break; default: print('Unrecognized message from QML:', JSON.stringify(message));