From: Cash Costello Date: Wed, 6 Jul 2011 10:44:00 +0000 (-0400) Subject: updated the embed plugin for new css class elgg-item rather than elgg-list-item X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9b042da78566d284d71ca5299d9f9402c49d36ba;p=lorea%2Felgg.git updated the embed plugin for new css class elgg-item rather than elgg-list-item --- diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php index 1ce994cfe..150dc8733 100644 --- a/mod/embed/views/default/embed/css.php +++ b/mod/embed/views/default/embed/css.php @@ -14,7 +14,7 @@ color: #333333; margin-bottom: 10px; } -.embed-wrapper .elgg-list-item { +.embed-wrapper .elgg-item { cursor: pointer; } diff --git a/mod/embed/views/default/js/embed/embed.php b/mod/embed/views/default/js/embed/embed.php index bf04c0963..ea92ba1fd 100644 --- a/mod/embed/views/default/js/embed/embed.php +++ b/mod/embed/views/default/js/embed/embed.php @@ -3,7 +3,7 @@ elgg.provide('elgg.embed'); elgg.embed.init = function() { // inserts the embed content into the textarea - $(".embed-wrapper .elgg-list-item").live('click', elgg.embed.insert); + $(".embed-wrapper .elgg-item").live('click', elgg.embed.insert); // caches the current textarea id $(".embed-control").live('click', function() {