summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-16 21:08:44 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-16 21:11:03 +0200
commitd9372ac76606cd10e680852dde090171f04f5dee (patch)
treee8bf84832ede4225cdefd839d0da8d2f1f294d64 /settings/js/admin.js
parent820cd0fb75bac88b4debe8f3fb28c1118b8587fa (diff)
downloadnextcloud-server-d9372ac76606cd10e680852dde090171f04f5dee.tar.gz
nextcloud-server-d9372ac76606cd10e680852dde090171f04f5dee.zip
make log level configurable
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
new file mode 100644
index 00000000000..a3585f7e1c2
--- /dev/null
+++ b/settings/js/admin.js
@@ -0,0 +1,5 @@
+$(document).ready(function(){
+ $('#loglevel').change(function(){
+ $.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() } );
+ })
+}); \ No newline at end of file