aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-02 23:42:10 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-02 23:42:20 +0200
commitd2e0386638c9904906f0de6830e83f7b854c6f40 (patch)
treee07562606f5dfd8396c77ff3656c7464450a3c5f
parent9b471718e3456acc9e993237bb968622f6f9dea2 (diff)
downloadwallet-core-d2e0386638c9904906f0de6830e83f7b854c6f40.tar.xz
respond to taler-payment-succeeded
-rw-r--r--content_scripts/notify.ts6
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
+}