]> git.joonet.de Git - adminer.git/commitdiff
Move tableCheck() below </form>
authorJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 12:53:15 +0000 (13:53 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 12:53:15 +0000 (13:53 +0100)
adminer/include/connect.inc.php
adminer/processlist.inc.php
editor/db.inc.php

index c9bc4a40f2fa3ca45a6a563315fbe851981fcdf6..31eb9bc777bd4c32b09945dadd78f95a2d5a071c 100644 (file)
@@ -62,9 +62,9 @@ function connect_error() {
                                        . "</div></fieldset>\n"
                                : ""
                        );
-                       echo script("tableCheck();");
                        echo "<input type='hidden' name='token' value='$token'>\n";
                        echo "</form>\n";
+                       echo script("tableCheck();");
                }
        }
        
index 5d26d1f76ebdb107f15471421e100c0702287de5..dd39268be062b63e981810a49a844fc785432369 100644 (file)
@@ -45,7 +45,6 @@ foreach (process_list() as $i => $row) {
 }
 ?>
 </table>
-<?php echo script("tableCheck();"); ?>
 <p>
 <?php
 if (support("kill")) {
@@ -55,3 +54,4 @@ if (support("kill")) {
 ?>
 <input type="hidden" name="token" value="<?php echo $token; ?>">
 </form>
+<?php echo script("tableCheck();"); ?>
index 1c9781b4cb6be689ba581c208d26a53843d4c723..cbdeba4efaa0e0f2ea659c75140846dd8f7fcd3e 100644 (file)
@@ -26,6 +26,6 @@ if ($adminer->homepage()) {
        }
        
        echo "</table>\n";
-       echo script("tableCheck();");
        echo "</form>\n";
+       echo script("tableCheck();");
 }