diff options
Diffstat (limited to 'core/js/setup.js')
-rw-r--r-- | core/js/setup.js | 5 |
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'); |