[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/dist
Pranav Kant
pranavk at collabora.co.uk
Tue Jun 6 10:38:04 UTC 2017
loleaflet/dist/toolbar/toolbar.js | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit ddc2b0c60129fb814b180c02d10831839dd1482f
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Mon Jun 5 15:40:08 2017 +0530
This should be obsolete after PostMessage API and WOPI
In richdocuments, it was added in aa0a8f666ada8f1d1edae17b906089cc03ba473d
and then removed in 87f7720d12e130bd1c3cd9306ad1b1f4d784f9e6
It was added firstly way before WOPI was even there. But now since we
have WOPI, we wouldn't need it.
Change-Id: I786a3f7b2103a43995a70b53438d88a829d13265
Reviewed-on: https://gerrit.libreoffice.org/38435
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 060c4562..755c5fd8 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1408,12 +1408,6 @@ map.on('commandresult', function (e) {
if (commandName === '.uno:Save' && e.success === true) {
// Saved a new version; the document is modified.
map._everModified = true;
-
- // owncloud integration
- //FIXME: CSP Violation.
- //if (typeof window.parent.documentsMain !== 'undefined') {
- // window.parent.documentsMain.saveDocumentBack();
- // }
}
else if ((commandName === '.uno:Undo' || commandName === '.uno:Redo') &&
e.success === true && e.result.value && !isNaN(e.result.value)) { /*UNDO_CONFLICT*/
More information about the Libreoffice-commits
mailing list