summaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-06-02 22:56:50 +0200
committerMorris Jobke <morris.jobke@gmail.com>2014-06-02 22:56:50 +0200
commita4dd4cbb8fdf6d459325884290b3f4804a554328 (patch)
tree6f46e0016707e5dbd482d0a60e29aefe386f1ec9 /core/js/setup.js
parentc88c0b9a13231478c626296d78aac7c1f66d87d9 (diff)
downloadnextcloud-server-a4dd4cbb8fdf6d459325884290b3f4804a554328.tar.gz
nextcloud-server-a4dd4cbb8fdf6d459325884290b3f4804a554328.zip
add info about sqlite on setup apge
Diffstat (limited to 'core/js/setup.js')
-rw-r--r--core/js/setup.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index 96719540f96..2717632fe14 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -13,6 +13,8 @@ $(document).ready(function() {
if($('#hasSQLite').val()){
$('#use_other_db').hide();
$('#use_oracle_db').hide();
+ } else {
+ $('#sqliteInformation').hide();
}
$('#adminlogin').change(function(){
$('#adminlogin').val($.trim($('#adminlogin').val()));
@@ -20,16 +22,19 @@ $(document).ready(function() {
$('#sqlite').click(function() {
$('#use_other_db').slideUp(250);
$('#use_oracle_db').slideUp(250);
+ $('#sqliteInformation').show();
});
$('#mysql,#pgsql,#mssql').click(function() {
$('#use_other_db').slideDown(250);
$('#use_oracle_db').slideUp(250);
+ $('#sqliteInformation').hide();
});
$('#oci').click(function() {
$('#use_other_db').slideDown(250);
$('#use_oracle_db').show(250);
+ $('#sqliteInformation').hide();
});
$('input[checked]').trigger('click');