]> git.joonet.de Git - adminer.git/commitdiff
Editor: Fix doubleclick on database page
authorJakub Vrana <jakub@vrana.cz>
Thu, 11 Jan 2018 16:24:51 +0000 (17:24 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 11 Jan 2018 16:24:57 +0000 (17:24 +0100)
changes.txt
editor/db.inc.php

index 2255ec435d59467b2453112a522787efbadb9807..15430b67503a86171122f8936e61aea9c9b85064 100644 (file)
@@ -4,6 +4,7 @@ MySQL: Remove dedicated view for replication status (added in 4.3.0)
 PostgreSQL: Sort table names (regression from 4.3.1)
 Editor: Don't set time zone from PHP, fixes DST
 Editor: Display field comment's text inside [] only in edit form
+Editor: Fix doubleclick on database page
 Hebrew translation
 
 Adminer 4.3.1 (released 2017-04-14):
index a593c3c47348b7409f1d543ddb9089c1f85da40d..087bf6cf2b838ddc87256cf9279ca456940f2f0f 100644 (file)
@@ -7,7 +7,7 @@ if ($adminer->homepage()) {
        if ($_POST["query"] != "") {
                search_tables();
        }
-       echo "<table cellspacing='0' class='nowrap checkable' onclick='tableClick(event);'>\n";
+       echo "<table cellspacing='0' class='nowrap checkable' onclick='tableClick(event);' ondblclick='tableClick(event, true);'>\n";
        echo '<thead><tr class="wrap"><td><input id="check-all" type="checkbox" onclick="formCheck.call(this, /^tables\[/);" class="jsonly"><th>' . lang('Table') . '<td>' . lang('Rows') . "</thead>\n";
        
        foreach (table_status() as $table => $row) {