diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-31 14:36:26 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-31 14:36:26 +0000 |
commit | b4bd662414f2d49f238bf0fabf05878d9d967877 (patch) | |
tree | 24fad6dfc67e35cc544a5c021971186c7772e25a /mod/embed/views/default | |
parent | 597d191dabf15834087be43bfaeb144726a26759 (diff) | |
download | elgg-b4bd662414f2d49f238bf0fabf05878d9d967877.tar.gz elgg-b4bd662414f2d49f238bf0fabf05878d9d967877.tar.bz2 |
Fixes #2703 - added support for url ids in navigation tabs
git-svn-id: http://code.elgg.org/elgg/trunk@7788 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r-- | mod/embed/views/default/embed/embed.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php index 21b296db4..7e84a9d72 100644 --- a/mod/embed/views/default/embed/embed.php +++ b/mod/embed/views/default/embed/embed.php @@ -30,8 +30,7 @@ if (!$sections) { 'title' => $section_info['name'], 'url' => '#', 'url_class' => 'embed_section', - // abusing the js attribute. - 'url_js' => "id=\"$section_id\"" + 'url_id' => $section_id, ); if ($section_id == $active_section) { @@ -46,7 +45,7 @@ if (!$sections) { 'title' => elgg_echo('embed:upload'), 'url' => '#', 'url_class' => 'embed_section', - 'url_js' => 'id="upload"', + 'url_id' => 'upload', 'selected' => ($active_section == 'upload') ); } |