From 01aa79e14718845d860d41baea3962173f7d9c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Ventura?= Date: Thu, 17 Dec 2015 16:55:20 +0100 Subject: [PATCH] Framework: fix AllSites selection flow via site-selector. We weren't triggering the whole function, which means wasn't properly changing the layout-focus and you could end up stuck with the picker opened. --- client/components/site-selector/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/site-selector/index.jsx b/client/components/site-selector/index.jsx index d0e50c8a72567..cc6b14438c889 100644 --- a/client/components/site-selector/index.jsx +++ b/client/components/site-selector/index.jsx @@ -185,7 +185,7 @@ module.exports = React.createClass( { key="selector-all-sites" sites={ this.props.sites } href={ allSitesPath } - onSelect={ this.closeSelector } + onSelect={ this.onSiteSelect.bind( this, null ) } isSelected={ ! this.props.sites.selected } /> );