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

Pranav Kant pranavk at collabora.co.uk
Thu Mar 29 08:42:11 UTC 2018


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

New commits:
commit 950b60719abefeca07c650a7add6dda2f7ae0aeb
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Wed Mar 28 22:31:57 2018 +0530

    Fix for incorrect map positioning
    
    Apparently, blurring and focussing the text area again causes incorrect
    map positioning.
    
    2 page document
    click into last line of second page
    scroll to first line of first page and click there
    see the incorrect map positioning
    
    Change-Id: Ib26fb67d17b16efebbbe18a2c022b18d592a4868
    Reviewed-on: https://gerrit.libreoffice.org/52025
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index a30b2d507..6f61d266e 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1057,7 +1057,6 @@ L.Map = L.Evented.extend({
 		// Calling from some other place with no real 'click' event doesn't work
 		if (type === 'click') {
 			if (this._permission === 'edit') {
-				this._textArea.blur();
 				this._textArea.focus();
 			}
 


More information about the Libreoffice-commits mailing list