mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Hide editor toolbar by default on mobile when composing new message
This commit is contained in:
parent
008af51873
commit
5ddb883856
1 changed files with 4 additions and 0 deletions
|
|
@ -272,6 +272,10 @@ class communicationView extends communication
|
||||||
$option->editor_skin = $this->config->editor_skin;
|
$option->editor_skin = $this->config->editor_skin;
|
||||||
$option->sel_editor_colorset = $this->config->editor_colorset;
|
$option->sel_editor_colorset = $this->config->editor_colorset;
|
||||||
$option->editor_focus = Context::get('source_message') ? 'Y' : 'N';
|
$option->editor_focus = Context::get('source_message') ? 'Y' : 'N';
|
||||||
|
if(Context::get('m'))
|
||||||
|
{
|
||||||
|
$option->editor_toolbar_hide = 'Y';
|
||||||
|
}
|
||||||
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
|
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
|
||||||
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";
|
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";
|
||||||
Context::set('editor', $editor);
|
Context::set('editor', $editor);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue