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

kaishu-sahu (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 22 08:11:02 UTC 2019


 loleaflet/src/control/Permission.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f5a67c696dd00bd0aac0ab25d6c94b29c42df5a5
Author:     kaishu-sahu <kaishusahu101 at gmail.com>
AuthorDate: Wed Jun 26 01:31:18 2019 +0530
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon Jul 22 10:10:43 2019 +0200

    android: fix keyboard popping out on clicking edit button.
    
    Change-Id: I619955a38998ce4091e7d432b989ef487a928a69
    Reviewed-on: https://gerrit.libreoffice.org/74720
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/src/control/Permission.js b/loleaflet/src/control/Permission.js
index de4fc7e63..91b8fe195 100644
--- a/loleaflet/src/control/Permission.js
+++ b/loleaflet/src/control/Permission.js
@@ -16,9 +16,9 @@ L.Map.include({
 					button.hide();
 					that._enterEditMode('edit');
 					that.fire('editorgotfocus');
-					// In the iOS app, just clicking the mobile-edit-button is
+					// In the iOS/android app, just clicking the mobile-edit-button is
 					// not reason enough to pop up the on-screen keyboard.
-					if (!window.ThisIsTheiOSApp)
+					if (!(window.ThisIsTheiOSApp || window.ThisIsTheAndroidApp))
 						that.focus();
 				});
 


More information about the Libreoffice-commits mailing list