loleaflet/src/map/Map.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 81bdf7cd7a1f4ec1089a48518899cfe6bf6ca7a4
Author: Jan Holesovsky <[email protected]>
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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits