don't auto-open the editor in forum mode. Save the forum selection text until we open it.

This commit is contained in:
redmatrix
2015-09-09 19:54:16 -07:00
parent f3b560b453
commit db58b62235
7 changed files with 9 additions and 1 deletions

View File

@@ -1137,6 +1137,7 @@ function status_editor($a, $x, $popup = false) {
'$newpost' => 'true',
'$baseurl' => $a->get_baseurl(true),
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
'$pretext' => ((x($x,'pretext')) ? $x['pretext'] : ''),
'$geotag' => $geotag,
'$nickname' => $x['nickname'],
'$ispublic' => t('Visible to <strong>everybody</strong>'),