diff options
Diffstat (limited to 'views/default/embed')
-rw-r--r-- | views/default/embed/addcontentjs.php | 6 | ||||
-rw-r--r-- | views/default/embed/js.php | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/views/default/embed/addcontentjs.php b/views/default/embed/addcontentjs.php index e97a51883..481854c4d 100644 --- a/views/default/embed/addcontentjs.php +++ b/views/default/embed/addcontentjs.php @@ -1,4 +1,4 @@ -
- var entity;
- $('textarea[name='+entityname+']').val($('textarea[name='+entityname+']').val() + ' ' + content);
+ + var entity; + $('textarea[name='+entityname+']').val($('textarea[name='+entityname+']').val() + ' ' + content);
\ No newline at end of file diff --git a/views/default/embed/js.php b/views/default/embed/js.php index 587acad1d..0787a226b 100644 --- a/views/default/embed/js.php +++ b/views/default/embed/js.php @@ -1,7 +1,7 @@ -
- function elggUpdateContent(content, entityname) {
- content = ' ' + content + ' ';
- <?php
- echo elgg_view('embed/addcontentjs');
- ?>
+ + function elggUpdateContent(content, entityname) { + content = ' ' + content + ' '; + <?php + echo elgg_view('embed/addcontentjs'); + ?> }
\ No newline at end of file |