From 39dbea0c103d592f618de6bf078019287604df13 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 7 Oct 2019 10:57:37 +0200 Subject: [PATCH] Fix notifications displayed once per tab --- www/common/outer/async-store.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 7244b0cb7..9ff329335 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -1995,7 +1995,8 @@ define([ broadcast([], "UPDATE_METADATA"); }, pinPads: function (data, cb) { Store.pinPads(null, data, cb); }, - }, waitFor, function (ev, data, clients, cb) { + }, waitFor, function (ev, data, clients, _cb) { + var cb = Util.once(_cb || function () {}); clients.forEach(function (cId) { postMessage(cId, 'MAILBOX_EVENT', { ev: ev,