diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php index 9538e778..4df94f9b 100644 --- a/adminer/dump.inc.php +++ b/adminer/dump.inc.php @@ -165,6 +165,7 @@ echo "
| " . checkbox("tables[]", $name, $checked, $name, "checkboxClick.call(this, event); formUncheck('check-tables');", "block"); + $print = " | ||
| " . checkbox("tables[]", $name, $checked, $name, "formUncheck('check-tables');", "block"); if ($type !== null && !preg_match('~table~i', $type)) { $views .= "$print\n"; } else { - echo "$print | \n"; + echo "$print | \n"; } $prefixes[$prefix]++; } diff --git a/adminer/static/editing.js b/adminer/static/editing.js index a23e313a..6e42cfe3 100644 --- a/adminer/static/editing.js +++ b/adminer/static/editing.js @@ -404,6 +404,19 @@ function partitionNameChange() { +/** Uncheck 'all' checkbox +* @param MouseEvent +* @this HTMLTableElement +*/ +function dumpClick(event) { + var el = parentTag(getTarget(event), 'label'); + if (el) { + checkboxClick.call(el.firstChild, event); + } +} + + + /** Add row for foreign key * @this HTMLSelectElement */ |