aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 12:17:52 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 12:17:52 +0000
commitf9a543aad621b8a4d37928d457dee168f64e8e7f (patch)
tree8e46defb20f2863658d80cd3accc6cc8c871af43 /views/default/js
parentd98fc5a0f10cff1686c2a535d56b3622e0e608ff (diff)
downloadelgg-f9a543aad621b8a4d37928d457dee168f64e8e7f.tar.gz
elgg-f9a543aad621b8a4d37928d457dee168f64e8e7f.tar.bz2
generic reusable collapsible div added (replacing manifest_file which is solely for admin plugins page)
git-svn-id: https://code.elgg.org/elgg/trunk@2976 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/initialise_elgg.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/js/initialise_elgg.php b/views/default/js/initialise_elgg.php
index 776f6ff7f..c5a2864f4 100644
--- a/views/default/js/initialise_elgg.php
+++ b/views/default/js/initialise_elgg.php
@@ -16,7 +16,7 @@ $(document).ready(function () {
return false;
});
- // toggle plugin's settings nad more info on admin tools admin
+ // toggle plugin's settings and more info on admin tools admin
$('a.pluginsettings_link').click(function () {
$(this.parentNode.parentNode).children("[class=pluginsettings]").slideToggle("fast");
return false;
@@ -25,6 +25,11 @@ $(document).ready(function () {
$(this.parentNode.parentNode).children("[class=manifest_file]").slideToggle("fast");
return false;
});
+ // reusable generic hidden panel
+ $('a.collapsibleboxlink').click(function () {
+ $(this.parentNode.parentNode).children("[class=collapsible_box]").slideToggle("fast");
+ return false;
+ });
// WIDGET GALLERY EDIT PANEL
// Sortable widgets