From 7d01d5552f55da30116afa66dcbf64ce074504e2 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Feb 2011 04:26:06 +0000 Subject: sticky form wasn't being cleared in bookmarks - that's fixed now git-svn-id: http://code.elgg.org/elgg/trunk@8318 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/actions/bookmarks/save.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/bookmarks/actions/bookmarks/save.php b/mod/bookmarks/actions/bookmarks/save.php index abb60314a..b0b9fc9c4 100644 --- a/mod/bookmarks/actions/bookmarks/save.php +++ b/mod/bookmarks/actions/bookmarks/save.php @@ -7,8 +7,6 @@ gatekeeper(); -elgg_make_sticky_form('bookmarks'); - $title = strip_tags(get_input('title')); $description = get_input('description'); $address = get_input('address'); @@ -45,6 +43,9 @@ $bookmark->access_id = $access_id; $bookmark->tags = $tagarray; if ($bookmark->save()) { + + elgg_clear_sticky_form(); + // @todo if (is_array($shares) && sizeof($shares) > 0) { foreach($shares as $share) { -- cgit v1.2.3