diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-02 23:42:10 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-02 23:42:20 +0200 |
commit | d2e0386638c9904906f0de6830e83f7b854c6f40 (patch) | |
tree | e07562606f5dfd8396c77ff3656c7464450a3c5f | |
parent | 9b471718e3456acc9e993237bb968622f6f9dea2 (diff) |
respond to taler-payment-succeeded
-rw-r--r-- | content_scripts/notify.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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 +} |