Date: Sat, 1 Jun 2019 00:46:23 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503205 - in head/www/firefox: . files Message-ID: <201906010046.x510kNjj088504@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Jun 1 00:46:23 2019 New Revision: 503205 URL: https://svnweb.freebsd.org/changeset/ports/503205 Log: www/firefox: unbreak language selection after r495403 PR: 221916 Added: head/www/firefox/files/patch-bug1554744 (contents, props changed) Modified: head/www/firefox/Makefile (contents, props changed) Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Sat Jun 1 00:46:13 2019 (r503204) +++ head/www/firefox/Makefile Sat Jun 1 00:46:23 2019 (r503205) @@ -3,6 +3,7 @@ PORTNAME= firefox DISTVERSION= 67.0.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Added: head/www/firefox/files/patch-bug1554744 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1554744 Sat Jun 1 00:46:23 2019 (r503205) @@ -0,0 +1,30 @@ +commit f8d21e08c1e4 +Author: Gijs Kruitbosch <gijskruitbosch@gmail.com> +Date: Fri May 31 13:55:56 2019 +0000 + + Bug 1554744 - make button state in browser language dialog correct when there's no available languages, r=johannh + + Differential Revision: https://phabricator.services.mozilla.com/D33273 + + --HG-- + extra : moz-landing-system : lando +--- + browser/components/preferences/browserLanguages.js | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git browser/components/preferences/browserLanguages.js browser/components/preferences/browserLanguages.js +index f8bae44b52c9..4c39f55fdafd 100644 +--- browser/components/preferences/browserLanguages.js ++++ browser/components/preferences/browserLanguages.js +@@ -78,9 +78,9 @@ class OrderedListBox { + setButtonState() { + let {upButton, downButton, removeButton} = this; + let {selectedIndex, itemCount} = this.richlistbox; +- upButton.disabled = selectedIndex == 0; ++ upButton.disabled = selectedIndex <= 0; + downButton.disabled = selectedIndex == itemCount - 1; +- removeButton.disabled = itemCount == 1 || !this.selectedItem.canRemove; ++ removeButton.disabled = itemCount <= 1 || !this.selectedItem.canRemove; + } + + moveUp() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906010046.x510kNjj088504>