summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-06-16 15:25:56 +0200
committerRobin Appelman <icewind@owncloud.com>2016-06-16 15:25:56 +0200
commit8485f5bcb1b1002e111aab12dd99827274102262 (patch)
tree91f136503e2f51bc57ceaca13d4e4d34110d2f26 /core/js
parent453a038e9c47d125d1a8ded93f38d082ce1cf228 (diff)
downloadnextcloud-server-8485f5bcb1b1002e111aab12dd99827274102262.tar.gz
nextcloud-server-8485f5bcb1b1002e111aab12dd99827274102262.zip
Prevent the advanced options toggle in the setup from acting as a link
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setup.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index cb299597451..636e41fddea 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -43,7 +43,8 @@ $(document).ready(function() {
$('input[checked]').trigger('click');
- $('#showAdvanced').click(function() {
+ $('#showAdvanced').click(function(e) {
+ e.preventDefault();
$('#datadirContent').slideToggle(250);
$('#databaseBackend').slideToggle(250);
$('#databaseField').slideToggle(250);