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:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user