diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-30 14:59:13 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-30 14:59:13 +0100 |
commit | 1076a7784027ed3af2e118bcf4366a81badb2d7c (patch) | |
tree | a29eb52f06de4ad60028b84e804cb3978a1c14f5 /settings/js/admin.js | |
parent | 24feb7463836bd60935e1a45641f251451bfa785 (diff) | |
download | nextcloud-server-1076a7784027ed3af2e118bcf4366a81badb2d7c.tar.gz nextcloud-server-1076a7784027ed3af2e118bcf4366a81badb2d7c.zip |
fix loading of more log entries
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index 09e8a1d6916..e3a092f71b0 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -3,7 +3,8 @@ $(document).ready(function(){ // Hack to add a trusted domain if (params.trustDomain) { - OC.dialogs.confirm(t('core', 'Are you really sure you want add "{domain}" as trusted domain?', {domain: params.trustDomain}), + OC.dialogs.confirm(t('core', 'Are you really sure you want add "{domain}" as trusted domain?', + {domain: params.trustDomain}), t('core', 'Add trusted domain'), function(answer) { if(answer) { $.ajax({ @@ -52,14 +53,13 @@ $(document).ready(function(){ }); $('#shareAPI input:not(#excludedGroups)').change(function() { + var value = $(this).val(); if ($(this).attr('type') === 'checkbox') { if (this.checked) { - var value = 'yes'; + value = 'yes'; } else { - var value = 'no'; + value = 'no'; } - } else { - var value = $(this).val(); } OC.AppConfig.setValue('core', $(this).attr('name'), value); }); |