[Libreoffice-commits] online.git: Branch 'distro/cib/libreoffice-6-2' - loleaflet/src
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 7 08:07:05 UTC 2019
loleaflet/src/map/handler/Map.WOPI.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 58b07ddb45950804e30685d05ca9cce1ef310b6d
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Fri Jun 7 10:06:26 2019 +0200
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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;
}
More information about the Libreoffice-commits
mailing list