diff options
Diffstat (limited to 'views/settings.tpl')
-rw-r--r-- | views/settings.tpl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/views/settings.tpl b/views/settings.tpl index 6459b0180..9547b36a7 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -930,7 +930,7 @@ %if settings_general[9] == 'False':
<option value="">Languages</option>
%else:
- <option value="">None</option>
+ <option value="None">None</option>
%end
</select>
</div>
@@ -987,7 +987,7 @@ %if settings_general[9] == 'False':
<option value="">Languages</option>
%else:
- <option value="">None</option>
+ <option value="None">None</option>
%end
</select>
</div>
@@ -1223,6 +1223,18 @@ $("#settings_movie_default_hi_div").checkbox('uncheck');
}
+ if ($("#settings_single_language").checkbox('is checked')) {
+ $("#settings_serie_default_languages").parent().removeClass('multiple');
+ $("#settings_serie_default_languages").removeAttr('multiple');
+ $("#settings_movie_default_languages").parent().removeClass('multiple');
+ $("#settings_movie_default_languages").removeAttr('multiple');
+ } else {
+ $("#settings_serie_default_languages").parent().addClass('multiple');
+ $("#settings_serie_default_languages").attr('multiple');
+ $("#settings_movie_default_languages").parent().addClass('multiple');
+ $("#settings_movie_default_languages").attr('multiple');
+ }
+
$("#settings_single_language").change(function(i, obj) {
if ($("#settings_single_language").checkbox('is checked')) {
$("#settings_serie_default_languages").dropdown('clear');
|