All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH buildroot-test] web/search.{js, php}: pass the event to the submit handler
Date: Wed, 25 Sep 2019 22:55:51 +0200	[thread overview]
Message-ID: <20190925225551.1ac6772f@windsurf> (raw)
In-Reply-To: <20190826121405.23134-1-victor.huesca@bootlin.com>

On Mon, 26 Aug 2019 14:14:05 +0200
Victor Huesca <victor.huesca@bootlin.com> wrote:

> Some web-browsers do not define the global event object on functions
> callback (see [1]). This cause an 'undefined event' error on the search
> page. Passing the event argument from the function caller fix this (at
> least it does on Firefox ESR 60.0.8).
> 
> [1] http://buildroot-busybox.2317881.n4.nabble.com/New-search-features-on-autobuild-buildroot-org-tt230624.html
> 
> Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
> ---
>  web/search.js  | 2 +-
>  web/search.php | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to buildroot-test, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2019-09-25 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26 12:14 [Buildroot] [PATCH buildroot-test] web/search.{js, php}: pass the event to the submit handler Victor Huesca
2019-08-27 20:14 ` Peter Korsgaard
2019-09-25 20:55 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190925225551.1ac6772f@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.