mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 16:44:17 +02:00
Use @this in JavaScript (prepares for removing inline event handlers)
This commit is contained in:
@@ -56,7 +56,7 @@ function connect_error() {
|
||||
echo "</table>\n";
|
||||
echo (support("database")
|
||||
? "<fieldset><legend>" . lang('Selected') . " <span id='selected'></span></legend><div>\n"
|
||||
. "<input type='hidden' name='all' value='' onclick=\"selectCount('selected', formChecked(this, /^db/));\">\n" // used by trCheck()
|
||||
. "<input type='hidden' name='all' value='' onclick=\"selectCount('selected', formChecked.call(this, /^db/));\">\n" // used by trCheck()
|
||||
. "<input type='submit' name='drop' value='" . lang('Drop') . "'" . confirm() . ">\n"
|
||||
. "</div></fieldset>\n"
|
||||
: ""
|
||||
|
Reference in New Issue
Block a user