Skip to content

Commit

Permalink
[K5.1] B3 | Quick reply data not copied when going full editor #6233
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Aug 6, 2020
1 parent 89de222 commit 003ed97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Expand Up @@ -34,6 +34,7 @@
$this->addScript('assets/js/jquery.atwho.js');

$this->addScriptOptions('com_kunena.kunena_topicicontype', '');
$this->addScriptOptions('com_kunena.kunena_quickreplymesid', $message->displayField('id'));

$this->addScript('assets/js/edit.js');

Expand Down Expand Up @@ -148,7 +149,7 @@ class="inputbox span12" maxlength="35" value="" required/>
}
else
{
echo '<textarea class="span12 qreply" id="editor" name="message" rows="6" cols="60" placeholder="' . Text::_('COM_KUNENA_ENTER_MESSAGE') . '"></textarea>';
echo '<textarea class="span12 qreply test' . $message->displayField("id") . '" id="editor" name="message" rows="6" cols="60" placeholder="' . Text::_('COM_KUNENA_ENTER_MESSAGE') . '"></textarea>';
} ?>
</div>

Expand Down Expand Up @@ -186,6 +187,7 @@ class="inputbox span12" maxlength="35" value="" required/>
<?php endif; ?>
<a href="index.php?option=com_kunena&view=topic&layout=reply&catid=<?php echo $message->catid; ?>&id=<?php echo $message->thread; ?>&mesid=<?php echo $message->id; ?>&Itemid=<?php echo KunenaRoute::getItemID(); ?>"
role="button" class="btn btn-small btn-link pull-right"
id="gotoeditor<?php echo $message->displayField('id'); ?>"
rel="nofollow"><?php echo Text::_('COM_KUNENA_GO_TO_EDITOR'); ?></a>
</div>
<?php if (!empty($this->quickcaptchaEnabled))
Expand Down
Expand Up @@ -34,6 +34,7 @@
$this->addScript('assets/js/jquery.atwho.js');

$this->addScriptOptions('com_kunena.kunena_topicicontype', '');
$this->addScriptOptions('com_kunena.kunena_quickreplymesid', $message->displayField('id'));

$this->addScript('assets/js/edit.js');

Expand Down Expand Up @@ -146,7 +147,7 @@ class="inputbox col-md-12 form-control" maxlength="35" value="" required/>
}
else
{
echo '<textarea class="col-md-12 qreply" id="editor" name="message" rows="6" cols="60" placeholder="' . Text::_('COM_KUNENA_ENTER_MESSAGE') . '"></textarea>';
echo '<textarea class="col-md-12 qreply test' . $message->displayField("id") . '" id="editor" name="message" rows="6" cols="60" placeholder="' . Text::_('COM_KUNENA_ENTER_MESSAGE') . '"></textarea>';
} ?>
</div>

Expand Down Expand Up @@ -188,6 +189,7 @@ class="inputbox col-md-12 form-control" maxlength="35" value="" required/>
<?php endif; ?>
<a href="index.php?option=com_kunena&view=topic&layout=reply&catid=<?php echo $message->catid; ?>&id=<?php echo $message->thread; ?>&mesid=<?php echo $message->id; ?>&Itemid=<?php echo KunenaRoute::getItemID(); ?>"
role="button" class="btn btn-default btn-small btn-link pull-right"
id="gotoeditor<?php echo $message->displayField('id'); ?>"
rel="nofollow"><?php echo Text::_('COM_KUNENA_GO_TO_EDITOR'); ?></a>
<br/>
</div>
Expand Down
Expand Up @@ -190,6 +190,7 @@ class="kinputbox postinput form-control" <?php if ($category->post_anonymous) ec
<?php endif; ?>
<a href="index.php?option=com_kunena&view=topic&layout=reply&catid=<?php echo $message->catid; ?>&id=<?php echo $message->thread; ?>&mesid=<?php echo $message->id; ?>&Itemid=<?php echo KunenaRoute::getItemID(); ?>"
role="button" class="btn btn-default btn-small btn-link pull-right"
id="gotoeditor<?php echo $message->displayField('id'); ?>"
rel="nofollow"><?php echo Text::_('COM_KUNENA_GO_TO_EDITOR'); ?></a>
<br/>
</div>
Expand Down

0 comments on commit 003ed97

Please sign in to comment.