summaryrefslogtreecommitdiffstats
path: root/client/components/activities/comments.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-03-31 16:56:32 +0300
committerLauri Ojansivu <x@xet7.org>2020-03-31 16:56:32 +0300
commit3546d7aa02bc65cf1183cb493adeb543ba51945d (patch)
treed386280609e58fb6670eb42fbd2d9a44c5b28504 /client/components/activities/comments.js
parent29d62440a5cf82b01de8183a384c6d7811abad81 (diff)
downloadwekan-3546d7aa02bc65cf1183cb493adeb543ba51945d.tar.gz
wekan-3546d7aa02bc65cf1183cb493adeb543ba51945d.tar.bz2
wekan-3546d7aa02bc65cf1183cb493adeb543ba51945d.zip
Fix Browser always reload the whole page when I change one of the card color.
Fixed by making label colors and text again editable. Regression from [Wekan v3.86 2)](https://github.com/wekan/wekan/commit/b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325). Thanks to javen9881 and xet7 ! Closes #2971
Diffstat (limited to 'client/components/activities/comments.js')
-rw-r--r--client/components/activities/comments.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js
index e885459e..50ca019b 100644
--- a/client/components/activities/comments.js
+++ b/client/components/activities/comments.js
@@ -33,13 +33,6 @@ BlazeComponent.extendComponent({
cardId,
});
resetCommentInput(input);
- // With Richer editor is in use, and comment is submitted,
- // clear comment form with JQuery. Id #summernote is defined
- // at client/components/main/editor.jade where it previously was
- // id=id, now it is id="summernote".
- if (Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR === 'true') {
- $('#summernote').summernote('code', '');
- }
Tracker.flush();
autosize.update(input);
input.trigger('submitted');