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

Allow specifying database in login form (bug #3499359)

This commit is contained in:
Jakub Vrana
2012-05-14 00:24:23 -07:00
parent f595f9313e
commit 8be29afb9b
5 changed files with 9 additions and 4 deletions

View File

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