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

New commits:
commit f5a67c696dd00bd0aac0ab25d6c94b29c42df5a5
Author:     kaishu-sahu <kaishusahu...@gmail.com>
AuthorDate: Wed Jun 26 01:31:18 2019 +0530
Commit:     Jan Holesovsky <ke...@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 <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@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();
                                });
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to