mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
(Modified) Usability Enhancement: Click on list rows to Edit items. Now uses jQuery (instead of onclick) to avoid being redirected to Edit when canceling a Delete.
This commit is contained in:
@@ -124,7 +124,7 @@ require_once "resources/paging.php";
|
||||
|
||||
if ($result_count > 0) {
|
||||
foreach($result as $row) {
|
||||
$tr_link = " onclick=\"document.location.href='database_edit.php?id=".$row['database_uuid']."';\"";
|
||||
$tr_link = "href='database_edit.php?id=".$row['database_uuid']."'";
|
||||
echo "<tr ".$tr_link.">\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_driver']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_type']." </td>\n";
|
||||
|
||||
Reference in New Issue
Block a user