fix mysql config not showing for installation

This commit is contained in:
Robin Appelman 2011-08-08 20:23:57 +02:00
parent ded97de891
commit e153fb79bb
1 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,4 @@
$(document).ready(function() {
// Hide the MySQL config div if needed :
if(!$('#mysql').is(':checked')) {
$('#use_mysql').hide();
}
// Hide the PostgreSQL config div if needed:
if(!$('#pgsql').is(':checked')) {
$('#use_postgresql').hide();
@ -35,4 +30,9 @@ $(document).ready(function() {
$('#databaseField').slideToggle(250);
}
});
// Hide the MySQL config div if needed :
if($('#dbtype').val()=='sqlite') {
$('#databaseField').hide();
}
});