gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: fix paths previ


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: fix paths previously missed during restructuring
Date: Mon, 29 May 2017 01:48:50 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new 5755f7a8 fix paths previously missed during restructuring
5755f7a8 is described below

commit 5755f7a81433dea3754f9f86d90884cf23b7ad64
Author: Florian Dold <address@hidden>
AuthorDate: Mon May 29 01:48:46 2017 +0200

    fix paths previously missed during restructuring
---
 src/webex/notify.ts             |  6 +++---
 src/webex/pages/add-auditor.tsx |  2 +-
 src/webex/pages/popup.tsx       | 14 +++++++-------
 src/webex/wxBackend.ts          |  4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/webex/notify.ts b/src/webex/notify.ts
index 733367a5..23e73d14 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 c1a9f997..e4d84798 100644
--- a/src/webex/pages/add-auditor.tsx
+++ b/src/webex/pages/add-auditor.tsx
@@ -100,7 +100,7 @@ class ConfirmAuditor extends 
ImplicitStateComponent<ConfirmAuditorProps> {
       <div id="main">
         <p>Do you want to let <strong>{this.props.auditorPub}</strong> audit 
the currency "{this.props.currency}"?</p>
         {this.addDone() ? 
-          (<div>Auditor was added! You can also <a 
href={chrome.extension.getURL("/src/pages/auditors.html")}>view and edit</a> 
auditors.</div>)
+          (<div>Auditor was added! You can also <a 
href={chrome.extension.getURL("/src/webex/pages/auditors.html")}>view and 
edit</a> auditors.</div>)
           : 
           (<div>
             <button onClick={() => this.add()} className="pure-button 
pure-button-primary">Yes</button>
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index a806cfef..f710156a 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -234,7 +234,7 @@ class WalletBalanceView extends React.Component<any, any> {
 
   renderEmpty(): JSX.Element {
     let helpLink = (
-      <ExtensionLink target="/src/pages/help/empty-wallet.html">
+      <ExtensionLink target="/src/webex/pages/help/empty-wallet.html">
         {i18n.str`help`}
       </ExtensionLink>
     );
@@ -316,9 +316,9 @@ class WalletBalanceView extends React.Component<any, any> {
         </p>
       );
     });
-    let link = chrome.extension.getURL("/src/pages/auditors.html");
+    let link = chrome.extension.getURL("/src/webex/pages/auditors.html");
     let linkElem = <a className="actionLink" href={link} 
target="_blank">Trusted Auditors and Exchanges</a>;
-    let paybackLink = chrome.extension.getURL("/src/pages/payback.html");
+    let paybackLink = chrome.extension.getURL("/src/webex/pages/payback.html");
     let paybackLinkElem = <a className="actionLink" href={link} 
target="_blank">Trusted Auditors and Exchanges</a>;
     return (
       <div>
@@ -489,16 +489,16 @@ function confirmReset() {
 function WalletDebug(props: any) {
   return (<div>
     <p>Debug tools:</p>
-    <button onClick={openExtensionPage("/src/pages/popup.html")}>
+    <button onClick={openExtensionPage("/src/webex/pages/popup.html")}>
       wallet tab
     </button>
-    <button onClick={openExtensionPage("/src/pages/show-db.html")}>
+    <button onClick={openExtensionPage("/src/webex/pages/show-db.html")}>
       show db
     </button>
-    <button onClick={openExtensionPage("/src/pages/tree.html")}>
+    <button onClick={openExtensionPage("/src/webex/pages/tree.html")}>
       show tree
     </button>
-    <button onClick={openExtensionPage("/src/pages/logs.html")}>
+    <button onClick={openExtensionPage("/src/webex/pages/logs.html")}>
       show logs
     </button>
     <br />
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index 35e1ff93..2579bc31 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]