diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 12:29:22 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 12:29:22 +0000 |
commit | b1ad6ce6cc095b789708befa00a593fc085c5e32 (patch) | |
tree | 103f5c8e46e5d3a88f6e9446b483445df18ac3bc /mod/reportedcontent/views | |
parent | 2d391bba1a069080c1ad32c0daf4eba714a171f0 (diff) | |
download | elgg-b1ad6ce6cc095b789708befa00a593fc085c5e32.tar.gz elgg-b1ad6ce6cc095b789708befa00a593fc085c5e32.tar.bz2 |
Removed empty href in elgg_slide_toggle calls to prevent page jump
git-svn-id: http://code.elgg.org/elgg/trunk@5282 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views')
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/listing.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/listing.php b/mod/reportedcontent/views/default/reportedcontent/listing.php index a7ce97797..8bad802ce 100644 --- a/mod/reportedcontent/views/default/reportedcontent/listing.php +++ b/mod/reportedcontent/views/default/reportedcontent/listing.php @@ -34,7 +34,7 @@ if($vars['entity']){ echo "<a class='action_button disabled' href=\"" . elgg_validate_action_url($vars['url'] . "action/reportedcontent/delete?item={$report->guid}") . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "</a></div>"; echo "<p><b>" . elgg_echo('reportedcontent:by') . ": </b><a href=\"{$user_url}\">" . $user . "</a>, " . friendly_time($report->time_created) . "</p>"; echo "<p><b>" . elgg_echo('reportedcontent:objecttitle') . ": </b>" . $report->title; - echo "<br /><a href='#' onclick=\"elgg_slide_toggle(this,'.reported_content','.container{$id}');\" class='details_link'>" . elgg_echo('reportedcontent:moreinfo') . "</a></p>"; + echo "<br /><a onclick=\"elgg_slide_toggle(this,'.reported_content','.container{$id}');\" class='details_link'>" . elgg_echo('reportedcontent:moreinfo') . "</a></p>"; echo "<div class='details container{$id} hidden'>"; echo "<p><b>" . elgg_echo('reportedcontent:objecturl') . ": </b><a href=\"{$report->address}\">" . elgg_echo('reportedcontent:visit') . "</a></p>"; echo "<p><b>" . elgg_echo('reportedcontent:reason') . ": </b>" .$report->description . "</p>"; |