diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-03-28 09:47:22 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-03-28 09:47:43 +0200 |
commit | e8bec33231a620579ccd1acd30824fd6c3a13dc2 (patch) | |
tree | 0bf17284382e55a29d83e5967d1243b19574d395 /src/content_scripts/notify.ts | |
parent | 2a1ece8417df48c4aac54851397e2f0ee87b9f06 (diff) |
add auditor editing
Diffstat (limited to 'src/content_scripts/notify.ts')
-rw-r--r-- | src/content_scripts/notify.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/content_scripts/notify.ts b/src/content_scripts/notify.ts index 07ce87900..bf91b79c9 100644 --- a/src/content_scripts/notify.ts +++ b/src/content_scripts/notify.ts @@ -305,6 +305,15 @@ namespace TalerNotify { window.location.href = redirectUrl; }); + addHandler("taler-add-auditor", (msg: any) => { + let params = { + req: JSON.stringify(msg), + }; + let uri = URI(chrome.extension.getURL("/src/pages/add-auditor.html")); + let redirectUrl = uri.query(params).href(); + window.location.href = redirectUrl; + }); + addHandler("taler-confirm-reserve", (msg: any, sendResponse: any) => { let walletMsg = { type: "confirm-reserve", |