diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-01 09:40:27 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-01 09:40:27 +0300 |
commit | 6ec14ee52bca394189a0f1d41d20b597e90f6320 (patch) | |
tree | 24591cde4476e841db31cd25c008e81bb7bc6ad1 | |
parent | e6a866cb9ef8253c6d59ce7b1deafb5edb1f5180 (diff) | |
parent | 4b995e88ba2abbc35e78562d5874b00854ef6be0 (diff) | |
download | wekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.tar.gz wekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.tar.bz2 wekan-6ec14ee52bca394189a0f1d41d20b597e90f6320.zip |
Merge branch 'nztqa-fix-copy-card' into devel
Fix Data inconsistency when copying card.
Thanks to nztqa ! Related #1218
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rw-r--r-- | client/components/cards/cardDetails.js | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cc9a2af..27650432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Upcoming Wekan relelase + +This release fixes the following bugs: + +* [Data inconsistency when copying card](https://github.com/wekan/wekan/pull/1246). Note: There is no feature for copying card attachment yet. + +Thanks to Github user nztqa for contributions. + # v0.44 2017-09-30 Wekan release This release adds the following new features: diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 7c6c3ce7..587cd1bc 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -220,6 +220,7 @@ Template.copyCardPopup.events({ if (title) { card.title = title; + card.coverId = ''; const _id = Cards.insert(card); // In case the filter is active we need to add the newly inserted card in // the list of exceptions -- cards that are not filtered. Otherwise the |