From d2e0386638c9904906f0de6830e83f7b854c6f40 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 2 Oct 2016 23:42:10 +0200 Subject: respond to taler-payment-succeeded --- content_scripts/notify.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index ed704aaf0..e4adaa3db 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -283,6 +283,10 @@ namespace TalerNotify { }) }); + addHandler("taler-payment-succeeded", (msg: any, sendResponse: any) => { + sendResponse(); + }); + addHandler("taler-get-payment", (msg: any, sendResponse: any) => { const walletMsg = { type: "execute-payment", @@ -319,4 +323,4 @@ namespace TalerNotify { }); }); } -} \ No newline at end of file +} -- cgit v1.2.3