]> git.joonet.de Git - adminer.git/commitdiff
Support Shift+click in export
authorJakub Vrana <jakub@vrana.cz>
Wed, 8 Aug 2012 16:23:46 +0000 (09:23 -0700)
committerJakub Vrana <jakub@vrana.cz>
Wed, 8 Aug 2012 16:23:46 +0000 (09:23 -0700)
adminer/dump.inc.php

index 749e83fec4c78a978db9a487a87beca37856be95..0b86b4cce6a00430a2507c67b056f05b80a10f25 100644 (file)
@@ -197,11 +197,11 @@ if (DB != "") {
                $name = $table_status["Name"];
                $prefix = ereg_replace("_.*", "", $name);
                $checked = ($TABLE == "" || $TABLE == (substr($TABLE, -1) == "%" ? "$prefix%" : $name)); //! % may be part of table name
-               $print = "<tr><td>" . checkbox("tables[]", $name, $checked, $name, "formUncheck('check-tables');");
+               $print = "<tr><td>" . checkbox("tables[]", $name, $checked, $name, "checkboxClick(event, this); formUncheck('check-tables');");
                if (is_view($table_status)) {
                        $views .= "$print\n";
                } else {
-                       echo "$print<td align='right'><label>" . ($table_status["Engine"] == "InnoDB" && $table_status["Rows"] ? "~ " : "") . $table_status["Rows"] . checkbox("data[]", $name, $checked, "", "formUncheck('check-data');") . "</label>\n";
+                       echo "$print<td align='right'><label>" . ($table_status["Engine"] == "InnoDB" && $table_status["Rows"] ? "~ " : "") . $table_status["Rows"] . checkbox("data[]", $name, $checked, "", "checkboxClick(event, this); formUncheck('check-data');") . "</label>\n";
                }
                $prefixes[$prefix]++;
        }