aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-04 12:29:22 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-04 12:29:22 +0000
commitb1ad6ce6cc095b789708befa00a593fc085c5e32 (patch)
tree103f5c8e46e5d3a88f6e9446b483445df18ac3bc /mod
parent2d391bba1a069080c1ad32c0daf4eba714a171f0 (diff)
downloadelgg-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')
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/bookmarklet_menu_option.php2
-rw-r--r--mod/logbrowser/views/default/logbrowser/form.php2
-rw-r--r--mod/messages/views/default/messages/messages.php2
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/listing.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/bookmarklet_menu_option.php b/mod/bookmarks/views/default/bookmarks/bookmarklet_menu_option.php
index 6af2e5a1d..4e71760e7 100755
--- a/mod/bookmarks/views/default/bookmarks/bookmarklet_menu_option.php
+++ b/mod/bookmarks/views/default/bookmarks/bookmarklet_menu_option.php
@@ -7,7 +7,7 @@ $page_owner = page_owner_entity();
<h3>Browser Bookmarklet</h3>
<a href="javascript:location.href='<?php echo $vars['url']; ?>pg/bookmarks/<?php echo $page_owner->username; ?>/add?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"> <img src="<?php echo $vars['url']; ?>_graphics/elgg_bookmarklet.gif" border="0" title="<?php echo elgg_echo('bookmarks:this');?>" /> </a>
<br />
-<a href="#" onclick="elgg_slide_toggle(this,'#elgg_sidebar','.bookmarklet');">Instructions</a>
+<a onclick="elgg_slide_toggle(this,'#elgg_sidebar','.bookmarklet');">Instructions</a>
<div class="bookmarklet hidden">
<p>
diff --git a/mod/logbrowser/views/default/logbrowser/form.php b/mod/logbrowser/views/default/logbrowser/form.php
index 326265643..0e5954b87 100644
--- a/mod/logbrowser/views/default/logbrowser/form.php
+++ b/mod/logbrowser/views/default/logbrowser/form.php
@@ -54,6 +54,6 @@
<div id="log_browser_search_form" class="hidden radius8"><?php echo $wrappedform; ?></div>
<p>
- <a href="#" onclick="elgg_slide_toggle(this,'#logbrowser_search_area','#log_browser_search_form');"><?php echo elgg_echo('logbrowser:search'); ?></a>
+ <a onclick="elgg_slide_toggle(this,'#logbrowser_search_area','#log_browser_search_form');"><?php echo elgg_echo('logbrowser:search'); ?></a>
</p>
</div> \ No newline at end of file
diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php
index 938c3a77c..5c2630ad6 100644
--- a/mod/messages/views/default/messages/messages.php
+++ b/mod/messages/views/default/messages/messages.php
@@ -51,7 +51,7 @@ if (isloggedin())
<div id="content_header" class="clearfloat">
<div class="content_header_title"><h2><?php echo $vars['entity']->title; ?></h2></div>
<div class="content_header_options">
- <a class="action_button message_reply" href="#" onclick="elgg_slide_toggle(this,'#elgg_page_contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
+ <a class="action_button message_reply" onclick="elgg_slide_toggle(this,'#elgg_page_contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
<?php echo elgg_view("output/confirmlink", array(
'href' => $vars['url'] . "action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'),
'text' => elgg_echo('delete'),
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>";