Bug #949087 - js error

This commit is contained in:
Garvin Hicking
2004-05-06 12:11:15 +00:00
parent 46a0e882be
commit bada833326
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-05-06 Garvin Hicking <pma@supergarv.de>
* libraries/display_tbl.lib.php: Bug #949087 - Fixed JS error for
mousepointer hovering on rows w/o checkboxes.
2004-05-05 Marc Delisle <lem9@users.sourceforge.net>
* tbl_select.php: patch #939197, new choice of operator LIKE %...%
because this syntax is so often used, thanks to Ruben Barkow (rubo77)

View File

@@ -1180,7 +1180,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql)
$column_style = '';
}
$column_style .= ' onmousedown="document.getElementById(\'id_rows_to_delete' . $row_no . '\').checked = (document.getElementById(\'id_rows_to_delete' . $row_no . '\').checked ? false : true);" ';
$column_style .= ' onmousedown="if (document.getElementById(\'id_rows_to_delete' . $row_no . '\')) { document.getElementById(\'id_rows_to_delete' . $row_no . '\').checked = (document.getElementById(\'id_rows_to_delete' . $row_no . '\').checked ? false : true); }" ';
// garvin: Wrap MIME-transformations. [MIME]
$default_function = 'default_function'; // default_function