diff --git a/src/webex/notify.ts b/src/webex/notify.ts index 733367a59..23e73d145 100644 --- a/src/webex/notify.ts +++ b/src/webex/notify.ts @@ -388,7 +388,7 @@ async function processProposal(proposal: any) { const offerId = await saveOffer(proposal); const uri = new URI(chrome.extension.getURL( - "/src/pages/confirm-contract.html")); + "/src/webex/pages/confirm-contract.html")); const params = { offerId: offerId.toString(), }; @@ -512,7 +512,7 @@ function registerHandlers() { suggested_exchange_url: msg.suggested_exchange_url, wt_types: JSON.stringify(msg.wt_types), }; - const uri = new URI(chrome.extension.getURL("/src/pages/confirm-create-reserve.html")); + const uri = new URI(chrome.extension.getURL("/src/webex/pages/confirm-create-reserve.html")); const redirectUrl = uri.query(params).href(); window.location.href = redirectUrl; }); @@ -521,7 +521,7 @@ function registerHandlers() { const params = { req: JSON.stringify(msg), }; - const uri = new URI(chrome.extension.getURL("/src/pages/add-auditor.html")); + const uri = new URI(chrome.extension.getURL("/src/webex/pages/add-auditor.html")); const redirectUrl = uri.query(params).href(); window.location.href = redirectUrl; }); diff --git a/src/webex/pages/add-auditor.tsx b/src/webex/pages/add-auditor.tsx index c1a9f997f..e4d84798b 100644 --- a/src/webex/pages/add-auditor.tsx +++ b/src/webex/pages/add-auditor.tsx @@ -100,7 +100,7 @@ class ConfirmAuditor extends ImplicitStateComponent {

Do you want to let {this.props.auditorPub} audit the currency "{this.props.currency}"?

{this.addDone() ? - (
Auditor was added! You can also view and edit auditors.
) + (
Auditor was added! You can also view and edit auditors.
) : (
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx index a806cfef9..f710156a5 100644 --- a/src/webex/pages/popup.tsx +++ b/src/webex/pages/popup.tsx @@ -234,7 +234,7 @@ class WalletBalanceView extends React.Component { renderEmpty(): JSX.Element { let helpLink = ( - + {i18n.str`help`} ); @@ -316,9 +316,9 @@ class WalletBalanceView extends React.Component {

); }); - let link = chrome.extension.getURL("/src/pages/auditors.html"); + let link = chrome.extension.getURL("/src/webex/pages/auditors.html"); let linkElem = Trusted Auditors and Exchanges; - let paybackLink = chrome.extension.getURL("/src/pages/payback.html"); + let paybackLink = chrome.extension.getURL("/src/webex/pages/payback.html"); let paybackLinkElem = Trusted Auditors and Exchanges; return (
@@ -489,16 +489,16 @@ function confirmReset() { function WalletDebug(props: any) { return (

Debug tools:

- - - -
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index 35e1ff938..2579bc317 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -446,7 +446,7 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea try { amountParsed = JSON.parse(amount); } catch (e) { - const uri = new URI(chrome.extension.getURL("/src/pages/error.html")); + const uri = new URI(chrome.extension.getURL("/src/webex/pages/error.html")); const p = { message: `Can't parse amount ("${amount}"): ${e.message}`, }; @@ -467,7 +467,7 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea suggested_exchange_url: headers["x-taler-suggested-exchange"], wt_types: wtTypes, }; - const uri = new URI(chrome.extension.getURL("/src/pages/confirm-create-reserve.html")); + const uri = new URI(chrome.extension.getURL("/src/webex/pages/confirm-create-reserve.html")); const redirectUrl = uri.query(params).href(); console.log("redirecting to", redirectUrl); // FIXME: use direct redirect when https://bugzilla.mozilla.org/show_bug.cgi?id=707624 is fixed