[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Thu Apr 20 10:16:07 UTC 2017


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

New commits:
commit b51d26720c7aa318e2850fbbe37dd1c1f0df2354
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Thu Apr 20 12:39:43 2017 +0530

    Surely, it is supposed to be update, not upate
    
    Change-Id: I5d576ec0ae6976cb915b1c458546bbf82bf9fe8f
    (cherry picked from commit 702bcdcf8d178fd8e82dafbcc6e9c41b5a55d4c9)
    Reviewed-on: https://gerrit.libreoffice.org/36723
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js
index 05ad8416..e739930d 100644
--- a/loleaflet/src/layer/AnnotationManager.js
+++ b/loleaflet/src/layer/AnnotationManager.js
@@ -116,7 +116,7 @@ L.AnnotationManager = L.Class.extend({
 			this._items.push(L.annotation(this._map.options.maxBounds.getSouthEast(), changecomment).addTo(this._map));
 		}
 		if (this._items.length > 0) {
-			this._map._docLayer._upateMaxBounds(true);
+			this._map._docLayer._updateMaxBounds(true);
 			this.layout();
 		}
 	},


More information about the Libreoffice-commits mailing list