Skip to content

Commit

Permalink
Fix issue caused by missing <geocoder/>.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfranco committed Mar 2, 2013
1 parent 86cf152 commit 860e193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/widgets/HeaderController/HeaderControllerWidget.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@
{
var searchConfig:XML = configXML.geocoder[0] || configXML.search[0];
const shouldEnableSearch:Boolean = (searchConfig.@visible[0] == "true")
|| (searchConfig[0] && !searchConfig.@visible[0]);
const shouldEnableSearch:Boolean = searchConfig && (searchConfig.@visible[0] != "false");
if (shouldEnableSearch)
{
singleLineSearch.hostBaseWidget = this;
Expand Down

0 comments on commit 860e193

Please sign in to comment.