(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:
Nate Jones
2014-06-21 08:52:47 +00:00
parent 3c2e32d197
commit 59687a4785
22 changed files with 51 additions and 33 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ $row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
foreach($profiles_array as $profile){
$tr_link = (permission_exists('xmpp_edit')) ? " onclick=\"document.location.href='xmpp_profile_edit.php?id=".$profile['xmpp_profile_uuid']."';\"" : null;
$tr_link = (permission_exists('xmpp_edit')) ? "href='xmpp_profile_edit.php?id=".$profile['xmpp_profile_uuid']."'" : null;
?>
<tr <?php echo $tr_link; ?>>
<td class='<?php echo $row_style[$c]; ?>'>