[Libreoffice-commits] online.git: loleaflet/src

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon May 9 05:21:23 UTC 2016


 loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50cc60e6f6ae1f151473c81feb692ac631f34d1d
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun May 8 20:23:46 2016 -0400

    loleaflet: invalidate on activation
    
    Invalidation for spreadsheet and presentation
    are part-sensitive. The handler will take
    care of this distinction and construct the correct
    invalidate command.
    
    Also, set active flag before firing invalidation.
    
    Change-Id: I9e897750e0768b54cc1521d47d69b5dbb1a36244
    Reviewed-on: https://gerrit.libreoffice.org/24779
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index c90035e..8b3cb77 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -699,8 +699,8 @@ L.Map = L.Evented.extend({
 
 			// Only activate when we are connected.
 			if (this._socket.connected()) {
-				this._docLayer._onMessage('invalidatetiles: part=0 x=0 y=0 width=2147483647 height=2147483647', null);
 				this._active = true;
+				this._docLayer._onMessage('invalidatetiles: EMPTY', null);
 
 				if (vex.dialogID > 0) {
 					var id = vex.dialogID;


More information about the Libreoffice-commits mailing list