[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loleaflet/src
Jan Holesovsky
kendy at collabora.com
Thu Feb 4 19:46:53 UTC 2016
loleaflet/src/map/Map.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit cfbdf0510dbabf6b4bcde960eb37f56dd0e26cf3
Author: Jan Holesovsky <kendy at collabora.com>
Date: Thu Feb 4 20:46:06 2016 +0100
loleaflet: When the 'premission' is 'edit', disable dragging too.
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 4ea1448..c001e1f 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -75,6 +75,7 @@ L.Map = L.Evented.extend({
// when editing, we need the LOK session right away
if (options.permission === 'edit') {
this._socket.sendMessage('requestloksession');
+ this.dragging.disable();
}
// Inhibit the context menu - the browser thinks that the document
More information about the Libreoffice-commits
mailing list