aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-03 13:32:16 +0200
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-03 13:32:16 +0200
commit481a37fcf3ea574ad5e22ecb57cf0161081cf230 (patch)
treeafb0a10e3dd924f5e42f09af489e3cdb7be40761 /core/js/setup.js
parenta2bcbec791b7cd81e5a1d734691f9cff63d114e2 (diff)
downloadnextcloud-server-481a37fcf3ea574ad5e22ecb57cf0161081cf230.tar.gz
nextcloud-server-481a37fcf3ea574ad5e22ecb57cf0161081cf230.zip
Show database only in advanced
Diffstat (limited to 'core/js/setup.js')
-rw-r--r--core/js/setup.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index e16f9b6e329..b765d41ba35 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -1,6 +1,7 @@
$(document).ready(function() {
$('#selectDbType').buttonset();
$('#datadirContent').hide(250);
+ $('#databaseField').hide(250);
if($('#hasSQLite').val()=='true'){
$('#use_other_db').hide();
$('#dbhost').hide();
@@ -29,6 +30,7 @@ $(document).ready(function() {
$('#showAdvanced').click(function() {
$('#datadirContent').slideToggle(250);
+ $('#databaseField').slideToggle(250);
});
$("form").submit(function(){
// Save form parameters