diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-16 12:27:21 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-16 12:27:21 +0200 |
commit | e59c87ee3691b85ef747dc50518f250fdd00af37 (patch) | |
tree | 0d010a3e3c2575618663812148a70a4c0d075498 /settings/js/admin.js | |
parent | 5720bd296dbd5f0459ea53c12d488999193801da (diff) | |
download | nextcloud-server-e59c87ee3691b85ef747dc50518f250fdd00af37.tar.gz nextcloud-server-e59c87ee3691b85ef747dc50518f250fdd00af37.zip |
reload log after changing log level
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 a3585f7e1c2..4f295ab6f5d 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -1,5 +1,7 @@ $(document).ready(function(){ $('#loglevel').change(function(){ - $.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() } ); + $.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() },function(){ + OC.Log.reload(); + } ); }) });
\ No newline at end of file |