diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-03-09 04:15:11 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-03-09 04:15:11 +0100 |
commit | 76ab9403af3b562531a7eb0831e5a7ecc9aedb38 (patch) | |
tree | c4d74f0cc8aac0fcd5a52520170a64c8d4b01395 /mod/connedit.php | |
parent | e8e980c8175be6dae7d642d9707493c465b7137b (diff) | |
parent | 80e381176e1e301782bc56cbb7c6037825eddf2d (diff) | |
download | volse-hubzilla-76ab9403af3b562531a7eb0831e5a7ecc9aedb38.tar.gz volse-hubzilla-76ab9403af3b562531a7eb0831e5a7ecc9aedb38.tar.bz2 volse-hubzilla-76ab9403af3b562531a7eb0831e5a7ecc9aedb38.zip |
merge
Diffstat (limited to 'mod/connedit.php')
-rw-r--r-- | mod/connedit.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/connedit.php b/mod/connedit.php index c6f64ccfc..b9b7fcce3 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -177,7 +177,13 @@ function connedit_content(&$a) { $sort_type = 0; $o = ''; + // this triggers some javascript to set Full Sharing by default after + // completing a "follow" - which can be changed to something else before + // form submission, but this gives us something useable + if($_GET['follow'] == 1) { + $o .= '<script>var after_following = 1;</script>'; + } if(! local_user()) { notice( t('Permission denied.') . EOL); return login(); |