summaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-10 19:20:46 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-10 19:20:46 +0200
commitf7a502b06e7b0fe0b8bbc5f41d96d4ea08eee98a (patch)
tree7120e7d8a26a6ecc6e72902bf4f44f94cdcc2c1c /app/install.php
parent3837e4ced58b699735bfad4ec6d3055999587093 (diff)
Cannot create an account with sqlite
https://github.com/FreshRSS/FreshRSS/issues/770
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/install.php b/app/install.php
index 177173fdb..5f43b6415 100644
--- a/app/install.php
+++ b/app/install.php
@@ -741,6 +741,13 @@ function printStep3() {
<script>
function mySqlShowHide() {
document.getElementById('mysql').style.display = document.getElementById('type').value === 'mysql' ? 'block' : 'none';
+ if (document.getElementById('type').value !== 'mysql') {
+ document.getElementById('host').value = '';
+ document.getElementById('user').value = '';
+ document.getElementById('pass').value = '';
+ document.getElementById('base').value = '';
+ document.getElementById('prefix').value = '';
+ }
}
mySqlShowHide();
</script>