Fix script to manage visibility of progress bar translations

After markup changes we need to update DOM selector used to hide/show
translations.
This commit is contained in:
Senén Rodero Rodríguez
2019-05-31 19:31:36 +02:00
parent 5ada975448
commit 721710be79

View File

@@ -44,10 +44,10 @@ App.Forms =
if this.value == "primary"
title_field.hide()
$("#globalize_locales").hide()
$(".globalize-languages").hide()
else
title_field.show()
$("#globalize_locales").show()
$(".globalize-languages").show()
$("[name='progress_bar[kind]']").change()