aboutsummaryrefslogtreecommitdiff
path: root/views/default/embed/addcontentjs.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-03 15:11:11 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-03 15:11:11 +0000
commitbc38dc1a5974a158f4d64b2a51dfe54aa295b6f9 (patch)
treed6ea3e0a6f2c58eee430bebd8a6ddf7241d6474b /views/default/embed/addcontentjs.php
parentc8b3dad148e1a68788e99572ed63551ea050f50b (diff)
downloadelgg-bc38dc1a5974a158f4d64b2a51dfe54aa295b6f9.tar.gz
elgg-bc38dc1a5974a158f4d64b2a51dfe54aa295b6f9.tar.bz2
Elgg Javascript update content function
git-svn-id: https://code.elgg.org/elgg/trunk@2634 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/embed/addcontentjs.php')
-rw-r--r--views/default/embed/addcontentjs.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/embed/addcontentjs.php b/views/default/embed/addcontentjs.php
new file mode 100644
index 000000000..1e22fd74a
--- /dev/null
+++ b/views/default/embed/addcontentjs.php
@@ -0,0 +1,4 @@
+
+ var entity;
+ $('textarea[@name='+entityname+']').val($('textarea[@name='+entityname+']').val() + ' ' + content);
+ \ No newline at end of file