Hide locale selector for primary progress bars

These progress bars don't have any translatable attributes.
This commit is contained in:
Javi Martín
2019-01-11 09:30:33 +01:00
committed by decabeza
parent 8c5907a3fb
commit 1962fcc2a2
3 changed files with 21 additions and 17 deletions

View File

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