1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Hide credentials for SQLite

This commit is contained in:
Jakub Vrana
2011-01-31 14:48:40 +01:00
parent 9e8ab1df31
commit 1d47454079
2 changed files with 11 additions and 2 deletions

View File

@@ -58,6 +58,13 @@ function typePassword(el, disable) {
}
}
function loginDriver(driver) {
var trs = driver.parentNode.parentNode.parentNode.rows;
for (var i=1; i < trs.length; i++) {
trs[i].className = (/sqlite/.test(driver.value) ? 'hidden' : '');
}
}
var added = '.', rowCount;