|
@@ -741,6 +741,13 @@ function printStep3() {
|
|
|
<script>
|
|
<script>
|
|
|
function mySqlShowHide() {
|
|
function mySqlShowHide() {
|
|
|
document.getElementById('mysql').style.display = document.getElementById('type').value === 'mysql' ? 'block' : 'none';
|
|
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();
|
|
mySqlShowHide();
|
|
|
</script>
|
|
</script>
|