From 50ca9866486b27defa3b327f0b501ee316a5efeb Mon Sep 17 00:00:00 2001 From: Paweł Sroka Date: Fri, 7 Jun 2013 02:37:06 +0200 Subject: Fixes #5587 - Makes profile edit form sticky --- actions/profile/edit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actions/profile/edit.php b/actions/profile/edit.php index b817463ac..c2a124309 100644 --- a/actions/profile/edit.php +++ b/actions/profile/edit.php @@ -4,6 +4,8 @@ * */ +elgg_make_sticky_form('profile:edit'); + $guid = get_input('guid'); $owner = get_entity($guid); @@ -107,6 +109,7 @@ if (sizeof($input) > 0) { // Notify of profile update elgg_trigger_event('profileupdate', $owner->type, $owner); + elgg_clear_sticky_form('profile:edit'); system_message(elgg_echo("profile:saved")); } -- cgit v1.2.3