1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-23 06:32:55 +02:00

Avoid qsl in a loop

This commit is contained in:
Jakub Vrana
2018-02-08 09:52:23 +01:00
parent fb2d34f739
commit 2db1c74310
2 changed files with 9 additions and 4 deletions

View File

@@ -411,7 +411,12 @@ function partitionNameChange() {
function dumpClick(event) {
var el = parentTag(getTarget(event), 'label');
if (el) {
checkboxClick.call(el.firstChild, event);
el = qs('input', el);
var match = /(.+)\[\]$/.exec(el.name);
if (match) {
checkboxClick.call(el, event);
formUncheck('check-' + match[1]);
}
}
}