diff options
author | Evan Winslow <evan@elgg.org> | 2012-08-25 22:11:07 -0700 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2012-08-25 22:11:07 -0700 |
commit | 80b75e049dabbf1318fe58d80e957f334faa9a76 (patch) | |
tree | bea75da599824752bcda80da5bd9444278151b1f | |
parent | 3325f3c3d07836f9afe122cfc3aa72377f6bd35e (diff) | |
parent | f90b116b99737ad38eba0e770759c61913b5249b (diff) | |
download | elgg-80b75e049dabbf1318fe58d80e957f334faa9a76.tar.gz elgg-80b75e049dabbf1318fe58d80e957f334faa9a76.tar.bz2 |
Merge pull request #367 from beck24/embed-fancybox-navigation
Fixes #4818: Generates unique rel attribute to prevent gallery navigation on embed lightbox content.
-rw-r--r-- | mod/embed/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php index a3ccab66b..e8a3f8c14 100644 --- a/mod/embed/start.php +++ b/mod/embed/start.php @@ -47,7 +47,7 @@ function embed_longtext_menu($hook, $type, $items, $vars) { 'name' => 'embed', 'href' => $url, 'text' => elgg_echo('embed:media'), - 'rel' => 'lightbox', + 'rel' => "embed-lightbox-{$vars['id']}", 'link_class' => "elgg-longtext-control elgg-lightbox embed-control embed-control-{$vars['id']}", 'priority' => 10, )); |