aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-06-03 15:07:59 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-03 15:07:59 +0200
commita5dd8e84f13c9815c0208851664238cfc0034b5b (patch)
tree6e3dbc33d462a7831aa7bf0da73821993e4dcd2a /core/js/setup.js
parent587159c73ed6028e1a9de9005a7e9473d016ea19 (diff)
parent25c676f203b7716b6ddd33b68a287939a1a7ef55 (diff)
downloadnextcloud-server-a5dd8e84f13c9815c0208851664238cfc0034b5b.tar.gz
nextcloud-server-a5dd8e84f13c9815c0208851664238cfc0034b5b.zip
Merge pull request #8827 from owncloud/add-sqlite-info
add info about sqlite on setup page
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 d28f15a0a03..3b2c13bd421 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');