Skip to content

Commit

Permalink
call updateDeployInfo() more reliably to ensure recent deploys and …
Browse files Browse the repository at this point in the history
…restrictions reflect the choices more so than now
  • Loading branch information
twrichards committed Oct 18, 2024
1 parent adbfb3b commit ee6aef5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions riff-raff/app/assets/javascripts/form-autocomplete.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ $ ->
input.on('change', updateFavouriteButton)
input.on('keyup', updateFavouriteButton)

$('#projectInput').blur updateDeployInfo
$('#projectInput').blur -> updateDeployInfo()

$('#buildInput').each ->
input = $(this)
Expand Down Expand Up @@ -156,8 +156,9 @@ $ ->
updateStageInfo()
)

$('#stage').change ->
updateDeployInfo()
$('#buildInput').blur -> updateDeployInfo()

$('#stage').change -> updateDeployInfo()

updateDeployInfo()

Expand Down

0 comments on commit ee6aef5

Please sign in to comment.