diff --git a/riff-raff/app/assets/javascripts/form-autocomplete.coffee b/riff-raff/app/assets/javascripts/form-autocomplete.coffee index 38deefaa2..d15444048 100644 --- a/riff-raff/app/assets/javascripts/form-autocomplete.coffee +++ b/riff-raff/app/assets/javascripts/form-autocomplete.coffee @@ -119,7 +119,7 @@ $ -> input.on('change', updateFavouriteButton) input.on('keyup', updateFavouriteButton) - $('#projectInput').blur updateDeployInfo + $('#projectInput').blur -> updateDeployInfo() $('#buildInput').each -> input = $(this) @@ -156,8 +156,9 @@ $ -> updateStageInfo() ) - $('#stage').change -> - updateDeployInfo() + $('#buildInput').change -> updateDeployInfo() + + $('#stage').change -> updateDeployInfo() updateDeployInfo()