From 15e4dcdedd91421e10b80a83b63899439956911a Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 4 Feb 2018 23:17:10 +0100 Subject: Editable menulist loosing editable attribute gets focus stuck Bug(s): https://bugzilla.mozilla.org/show_bug.cgi?id=1142224 (native in moebius) --- toolkit/content/widgets/menulist.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'toolkit/content') diff --git a/toolkit/content/widgets/menulist.xml b/toolkit/content/widgets/menulist.xml index ccdf3bd26..96c011809 100644 --- a/toolkit/content/widgets/menulist.xml +++ b/toolkit/content/widgets/menulist.xml @@ -129,8 +129,22 @@ - + + + + this.focus(), 0); + } + + this.setAttribute("editable", val); + return val; + ]]> + +