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

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Mon May 11 17:56:48 UTC 2020


 loleaflet/src/control/Control.FormulaBar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 080055b7e5d4361f6e04ee917c2a82990ef1e49d
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon May 11 12:39:34 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon May 11 19:56:29 2020 +0200

    Fix cell address input handler
    
    Change-Id: Ie0a7630597f442d7f7117870cd4a52ff5b476252
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93957
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit cdf964ba861a03634fd05587bb6ee5cd9588fd94)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93802
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.FormulaBar.js b/loleaflet/src/control/Control.FormulaBar.js
index e62bd2c86..60fd848d9 100644
--- a/loleaflet/src/control/Control.FormulaBar.js
+++ b/loleaflet/src/control/Control.FormulaBar.js
@@ -40,7 +40,7 @@ L.Control.FormulaBar = L.Control.extend({
 				window.hideTooltip(this, e.target);
 			},
 			onRefresh: function() {
-				$('#addressInput').off('keyup', this.onAddressInput, this).on('keyup', this.onAddressInput, this);
+				$('#addressInput').off('keyup', that.onAddressInput.bind(that)).on('keyup', that.onAddressInput.bind(that));
 			}
 		});
 		toolbar.bind('touchstart', function(e) {


More information about the Libreoffice-commits mailing list