loleaflet/src/map/Map.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit cfbdf0510dbabf6b4bcde960eb37f56dd0e26cf3
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