[Buildroot] [PATCH buildroot-test] web/search.{js, php}: pass the event to the submit handler

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Sep 25 20:55:51 UTC 2019


On Mon, 26 Aug 2019 14:14:05 +0200
Victor Huesca <victor.huesca at 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 at 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


More information about the buildroot mailing list