1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Move inline event handlers to <script>

This commit is contained in:
Jakub Vrana
2018-01-12 13:54:08 +01:00
parent 22b4322710
commit d996b48cfa
5 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ page_header(lang('Process list'), $error);
?>
<form action="" method="post">
<table cellspacing="0" onclick="tableClick(event);" ondblclick="tableClick(event, true);" class="nowrap checkable">
<table cellspacing="0" class="nowrap checkable">
<script>mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});</script>
<?php
// HTML valid because there is always at least one process
$i = -1;