From ef2890fe5156cf83de00c077f530f1404b5b509a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 15 Jan 2016 00:03:15 +0100 Subject: this might be controversal - if approving a connection from the popup go back to connections page. if the popup is dismissed and the connection is approved from the page stay on /connedit page to be able to adjust perms etc... --- mod/connedit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/connedit.php b/mod/connedit.php index 77b54d262..bcf2d744b 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -305,6 +305,9 @@ function connedit_post(&$a) { connedit_clone($a); + if(($_REQUEST['pending']) && (!$_REQUEST['done'])) + goaway($a->get_baseurl(true) . '/connections/ifpending'); + return; } -- cgit v1.2.3