mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 20:19:47 +01:00
Fix: Comment edit cancel edit context item not shown
This commit is contained in:
parent
7cd373f4fa
commit
24d086a150
@ -17,6 +17,7 @@ HumHub Change Log
|
||||
- Fix: ui.addition.applyTo with filter ignores first filter index
|
||||
- Fix: introduction tour not working
|
||||
- Chng: Moved static js dependencies from `static/resources` into `static/js`
|
||||
- Fix: Comment edit cancel edit context item not shown
|
||||
|
||||
1.3.0-beta.2 (July 18, 2018)
|
||||
-----------------------------
|
||||
|
@ -83,7 +83,6 @@ humhub.module('comment', function (module, require, $) {
|
||||
var that = this;
|
||||
client.post(evt, {dataType: 'html'}).then(function (response) {
|
||||
that.$.find('.comment_edit_content').replaceWith(response.html);
|
||||
that.getRichtext().focus();
|
||||
that.$.find('.comment-cancel-edit-link').show();
|
||||
that.$.find('.comment-edit-link').hide();
|
||||
}).finally(function () {
|
||||
|
@ -23,7 +23,8 @@ $submitUrl = Url::to(['/comment/comment/edit', 'id' => $comment->id, 'contentMod
|
||||
<div class="comment-create-input-group">
|
||||
<?= $form->field($comment, 'message')->widget(RichTextField::class, [
|
||||
'id' => 'comment_input_'.$comment->id,
|
||||
'placeholder' => Yii::t('CommentModule.views_edit', 'Edit your comment...')
|
||||
'placeholder' => Yii::t('CommentModule.views_edit', 'Edit your comment...'),
|
||||
'focus' => true
|
||||
])->label(false) ?>
|
||||
|
||||
<div class="comment-buttons">
|
||||
|
Loading…
x
Reference in New Issue
Block a user