loleaflet/src/map/handler/Map.WOPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 58b07ddb45950804e30685d05ca9cce1ef310b6d Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Fri Jun 7 10:06:26 2019 +0200 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Fri Jun 7 10:06:26 2019 +0200 Revert "loleaflet: add postmessage check" Valid use case: PostMessage sent by other frames than direct parent frame This reverts commit 5d97ef0c6be89f7041475126ecabbaa1cfb656e2. diff --git a/loleaflet/src/map/handler/Map.WOPI.js b/loleaflet/src/map/handler/Map.WOPI.js index 2c343055f..654b2a51c 100644 --- a/loleaflet/src/map/handler/Map.WOPI.js +++ b/loleaflet/src/map/handler/Map.WOPI.js @@ -124,7 +124,7 @@ L.Map.WOPI = L.Handler.extend({ }, _postMessageListener: function(e) { - if (!window.WOPIPostmessageReady || (e.origin !== window.parent.origin)) { + if (!window.WOPIPostmessageReady) { return; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
