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

@@ -105,6 +105,7 @@ function editlayout_content(&$a) {
$a->page['htmlhead'] .= replace_macros(get_markup_template('jot-header.tpl'), array(
'$baseurl' => $a->get_baseurl(),
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
'$pretext' => '',
'$ispublic' => '&nbsp;', // t('Visible to <strong>everybody</strong>'),
'$geotag' => $geotag,
'$nickname' => $channel['channel_address'],