Fix acceptance of outdated friendship requests (bug #861985)
If you submit an accept friendship form from the my friends or find
friends page, but the request has disappeared in the time since you
loaded the page, the user receives no feedback. This patch ensures
that the form is actually submitted and validated, and provides an
appropriate message if the request has been denied or accepted.
This patch also ensures that friend acceptance is saved when the
submitted form appears on the second (or later) page of results.
Change-Id: I0bdc8fb370670a8ddb1c41c7db2f3e37c9d70d11
Signed-off-by: Richard Mansfield <email address hidden>
Reviewed: https:/ /reviews. mahara. org/752 gitorious. org/mahara/ mahara/ commit/ c03258234b0db15 5d1eaea474f202c 7872cb3eac
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit c03258234b0db15 5d1eaea474f202c 7872cb3eac
Author: Richard Mansfield <email address hidden>
Date: Thu Sep 29 14:50:30 2011 +1300
Fix acceptance of outdated friendship requests (bug #861985)
If you submit an accept friendship form from the my friends or find
friends page, but the request has disappeared in the time since you
loaded the page, the user receives no feedback. This patch ensures
that the form is actually submitted and validated, and provides an
appropriate message if the request has been denied or accepted.
This patch also ensures that friend acceptance is saved when the
submitted form appears on the second (or later) page of results.
Change-Id: I0bdc8fb370670a 8ddb1c41c7db2f3 e37c9d70d11
Signed-off-by: Richard Mansfield <email address hidden>