diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 22:41:28 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 22:41:28 +0000 |
commit | 02bf9ae5522c752aaa7bfac9b9562c634d35cef4 (patch) | |
tree | 2a7350d3df6ad85a1859c64a81c3173a4e043dce | |
parent | 7d65ea6361da3e5bd7cba1bdb7412fdcdc8022c6 (diff) | |
download | elgg-02bf9ae5522c752aaa7bfac9b9562c634d35cef4.tar.gz elgg-02bf9ae5522c752aaa7bfac9b9562c634d35cef4.tar.bz2 |
fixed sticky forms for bookmarks
git-svn-id: http://code.elgg.org/elgg/trunk@8375 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/bookmarks/actions/bookmarks/save.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/bookmarks/actions/bookmarks/save.php b/mod/bookmarks/actions/bookmarks/save.php index b01f9b6d0..02280838d 100644 --- a/mod/bookmarks/actions/bookmarks/save.php +++ b/mod/bookmarks/actions/bookmarks/save.php @@ -16,6 +16,8 @@ $guid = get_input('guid'); $share = get_input('share'); $container_guid = get_input('container_guid', elgg_get_logged_in_user_guid()); +elgg_make_sticky_form('bookmarks'); + $normalized = elgg_normalize_url($address); // slight hack. If the original link wasn't to this site, they probably didn't mean to post @@ -57,7 +59,7 @@ $bookmark->tags = $tagarray; if ($bookmark->save()) { - elgg_clear_sticky_form(); + elgg_clear_sticky_form('bookmarks'); // @todo if (is_array($shares) && sizeof($shares) > 0) { |