[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Sun Nov 20 09:27:53 UTC 2016
loleaflet/src/control/Control.PartsPreview.js | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 57790dd2b8e25fa2b87c27c3c9eb37fb6c958bf6
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Sun Nov 20 14:57:15 2016 +0530
loleaflet: Let readonly/view modes change slides
Change-Id: Ia4eef3f20cd0cc33c76de1070e09c8d4c8a6c4c8
diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js
index 6ada721..b18db96 100644
--- a/loleaflet/src/control/Control.PartsPreview.js
+++ b/loleaflet/src/control/Control.PartsPreview.js
@@ -78,9 +78,6 @@ L.Control.PartsPreview = L.Control.extend({
},
_setPart: function (e) {
- if (map._permission !== 'edit') {
- return;
- }
var part = $('.parts-preview .mCSB_container .preview-frame').index(e.target.parentNode);
if (part !== null) {
this._map.setPart(parseInt(part));
More information about the Libreoffice-commits
mailing list