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)](b9099a8b7e).

Thanks to javen9881 and xet7 !

Closes #2971
This commit is contained in:
Lauri Ojansivu 2020-03-31 16:56:32 +03:00
parent 29d62440a5
commit 3546d7aa02
4 changed files with 5 additions and 251 deletions

View file

@ -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');