aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/embed/views/default/embed/embed.php5
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')
);
}