send browser back to correct page (with query args) after posting

This commit is contained in:
friendica 2012-05-09 04:18:01 -07:00
parent 70a07086ad
commit 53157bb954
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
$o .= replace_macros($tpl,array(
'$return_path' => $a->cmd,
'$return_path' => $a->query_string,
'$action' => $a->get_baseurl(true) . '/item',
'$share' => (x($x,'button') ? $x['button'] : t('Share')),
'$upload' => t('Upload photo'),