diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-21 00:38:27 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-21 00:38:27 +0000 |
commit | a3febfda7a1bc64ba247a241a2983643ae0b1b16 (patch) | |
tree | bccc25ce0dc7e06edd0f4f4a787133e66b6733da /mod/messageboard/views/default | |
parent | 4afa50233029dad99d07a2c3e408bf68bbb4fb4e (diff) | |
download | elgg-a3febfda7a1bc64ba247a241a2983643ae0b1b16.tar.gz elgg-a3febfda7a1bc64ba247a241a2983643ae0b1b16.tar.bz2 |
Fixes #2719. Removing hack from bookmarks add. Now appends http:// to www.example.com and validates that.
git-svn-id: http://code.elgg.org/elgg/trunk@8378 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messageboard/views/default')
-rw-r--r-- | mod/messageboard/views/default/messageboard/js.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/messageboard/views/default/messageboard/js.php b/mod/messageboard/views/default/messageboard/js.php index 0ec56d7d9..c63804408 100644 --- a/mod/messageboard/views/default/messageboard/js.php +++ b/mod/messageboard/views/default/messageboard/js.php @@ -23,9 +23,9 @@ elgg.messageboard.submit = function(e) { var ul = form.next('ul.elgg-annotation-list'); if (ul.length < 1) { - form.parent().append(json.output.post); + form.parent().append(json.output); } else { - ul.prepend($(json.output.post).find('li:first')); + ul.prepend($(json.output).find('li:first')); }; form.find('textarea').val(''); } |