Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2019 00:48:06 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r503210 - in branches/2019Q2/www/firefox: . files
Message-ID:  <201906010048.x510m6nR089196@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Jun  1 00:48:06 2019
New Revision: 503210
URL: https://svnweb.freebsd.org/changeset/ports/503210

Log:
  MFH: r503205
  
  www/firefox: unbreak language selection after r495403
  
  PR:		221916
  Approved by:	ports-secteam blanket

Added:
  branches/2019Q2/www/firefox/files/patch-bug1554744
     - copied unchanged from r503205, head/www/firefox/files/patch-bug1554744
Modified:
  branches/2019Q2/www/firefox/Makefile
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/www/firefox/Makefile
==============================================================================
--- branches/2019Q2/www/firefox/Makefile	Sat Jun  1 00:46:58 2019	(r503209)
+++ branches/2019Q2/www/firefox/Makefile	Sat Jun  1 00:48:06 2019	(r503210)
@@ -3,6 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	67.0.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Copied: branches/2019Q2/www/firefox/files/patch-bug1554744 (from r503205, head/www/firefox/files/patch-bug1554744)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q2/www/firefox/files/patch-bug1554744	Sat Jun  1 00:48:06 2019	(r503210, copy of r503205, head/www/firefox/files/patch-bug1554744)
@@ -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?201906010048.x510m6nR089196>