aboutsummaryrefslogtreecommitdiff
path: root/src/content_scripts/notify.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_scripts/notify.ts')
-rw-r--r--src/content_scripts/notify.ts9
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",