diff options
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index b09704f87b7..56dc1b98716 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -48,7 +48,9 @@ $(document).ready(function(){ $.ajax({ type: 'POST', url: OC.generateUrl('settings/ajax/setsecurity.php'), - data: { trustedDomain: params.trustDomain} + data: { trustedDomain: params.trustDomain } + }).done(function() { + window.location.replace(OC.generateUrl('settings/admin')); }); } }); |