loleaflet/dist/toolbar/toolbar.js | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit ddc2b0c60129fb814b180c02d10831839dd1482f Author: Pranav Kant <pran...@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 <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@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*/ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits