mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
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:
parent
29d62440a5
commit
3546d7aa02
4 changed files with 5 additions and 251 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue