aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/widgets
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 17:30:12 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 17:30:12 +0000
commit0801d94f4095d3658a00a0a57f4166cb4f707eda (patch)
treec7c92c72b774fb0c3bf32fe7dd5d08f7afcb895d /mod/file/views/default/widgets
parent732207c9a17483d1a660f9b7cec81f531a0838e5 (diff)
downloadelgg-0801d94f4095d3658a00a0a57f4166cb4f707eda.tar.gz
elgg-0801d94f4095d3658a00a0a57f4166cb4f707eda.tar.bz2
Removed js drop-down description on group profile tools widgets.
git-svn-id: http://code.elgg.org/elgg/trunk@5780 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/views/default/widgets')
-rw-r--r--mod/file/views/default/widgets/filerepo/view.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/mod/file/views/default/widgets/filerepo/view.php b/mod/file/views/default/widgets/filerepo/view.php
index 276ece053..6763d2536 100644
--- a/mod/file/views/default/widgets/filerepo/view.php
+++ b/mod/file/views/default/widgets/filerepo/view.php
@@ -1,15 +1,3 @@
-<script type="text/javascript">
-$(document).ready(function () {
-
-$('a.show_file_desc').click(function () {
- $(this.parentNode).children("[class=filerepo_listview_desc]").slideToggle("fast");
- return false;
-});
-
-}); /* end document ready function */
-</script>
-
-
<?php
//the page owner
@@ -62,8 +50,6 @@ $('a.show_file_desc').click(function () {
echo "<div class='filerepo_widget_content'>";
echo "<div class='filerepo_listview_title'><p class='filerepo_title'>" . $f->title . "</p></div>";
echo "<div class='filerepo_listview_date'><p class='filerepo_timestamp'><small>" . friendly_time($f->time_created) . "</small></p></div>";
- $description = $f->description;
- if (!empty($description)) echo "<a href=\"javascript:void(0);\" class='show_file_desc'>". elgg_echo('more') ."</a><br /><div class='filerepo_listview_desc'>" . $description . "</div>";
echo "</div></div>";
}