summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-17 00:45:05 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-17 00:45:05 +0200
commit3263b80ea94a2d3c8a7d68d8190a93db198e2203 (patch)
tree65032ac05f6525e80d8e9b2873bd0c5220a05660 /js
parent87ebd6700d7726ce4de1d3572ceaad1521c00b6c (diff)
downloadnextcloud-server-3263b80ea94a2d3c8a7d68d8190a93db198e2203.tar.gz
nextcloud-server-3263b80ea94a2d3c8a7d68d8190a93db198e2203.zip
first-run wizzard wip
Diffstat (limited to 'js')
-rw-r--r--js/js.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/js.js b/js/js.js
index 244433184f8..86f5885ce62 100644
--- a/js/js.js
+++ b/js/js.js
@@ -9,4 +9,22 @@ $(document).ready(function() {
$('#user_menu').slideToggle(250);
return false;
});
+
+ //hide the advanced config
+ $('#advanced_options').hide();
+ $('#use_mysql').hide();
+
+ // Sets advanced_options link behaviour :
+ $('#advanced_options_link').click(function() {
+ $('#advanced').toggleClass('userLinkOn');
+ $('#advanced_options').slideToggle(250);
+ return false;
+ });
+
+ $('#mysql').click(function() {
+ $('#use_mysql').slideDown(250);
+ });
+ $('#sqlite').click(function() {
+ $('#use_mysql').slideUp(250);
+ });
});