Commit | Line | Data |
---|---|---|
921ed8ae AS |
1 | CRM.$(function($) { |
2 | $('input[name=inheritLocale]').click(function () { | |
3 | showHideUiLanguages(); | |
4 | }); | |
5 | ||
6 | function showHideUiLanguages() { | |
7 | var val = $('input[name=inheritLocale]:checked').val(); | |
8 | if(val == 0) { | |
9 | $('.crm-localization-form-block-uiLanguages').show(); | |
10 | } else { | |
11 | $('.crm-localization-form-block-uiLanguages').hide(); | |
12 | } | |
13 | } | |
14 | ||
15 | showHideUiLanguages(); | |
16 | }); |