summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
authorErik Turk <erik.turk@ontera.ca>2018-02-08 10:32:09 -0500
committerErik Turk <erik.turk@ontera.ca>2018-02-08 10:32:09 -0500
commit0a5af2b719fc2a559a92b2173681df697d3f9158 (patch)
treeaf26e56a1c04db7b33d68093e3736f42ef294d8b /client/components/cards/cardDetails.js
parentecd77c87049a5b3e7e9b3edc8867944c14aa4319 (diff)
downloadwekan-0a5af2b719fc2a559a92b2173681df697d3f9158.tar.gz
wekan-0a5af2b719fc2a559a92b2173681df697d3f9158.tar.bz2
wekan-0a5af2b719fc2a559a92b2173681df697d3f9158.zip
more spacing/tabs fixes
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 35081679..f117a264 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -313,36 +313,36 @@ Template.copyManyCardPopup.events({
if (titleEntry) {
const titleList = JSON.parse(titleEntry);
- for (var i = 0; i < titleList.length; i++){
- let obj = titleList[i];
+ for (let i = 0; i < titleList.length; i++){
+ const obj = titleList[i];
card.title = obj.title;
- card.description = obj.description;
- card.coverId = '';
- const _id = Cards.insert(card);
+ card.description = obj.description;
+ 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
// card will disappear instantly.
// See https://github.com/wekan/wekan/issues/80
- Filter.addException(_id);
+ Filter.addException(_id);
// copy checklists
- let cursor = Checklists.find({cardId: oldId});
- cursor.forEach(function() {
- 'use strict';
- const checklist = arguments[0];
- checklist.cardId = _id;
- checklist._id = null;
- Checklists.insert(checklist);
+ let cursor = Checklists.find({cardId: oldId});
+ cursor.forEach(function() {
+ 'use strict';
+ const checklist = arguments[0];
+ checklist.cardId = _id;
+ checklist._id = null;
+ Checklists.insert(checklist);
});
// copy card comments
- cursor = CardComments.find({cardId: oldId});
- cursor.forEach(function () {
- 'use strict';
- const comment = arguments[0];
- comment.cardId = _id;
- comment._id = null;
- CardComments.insert(comment);
+ cursor = CardComments.find({cardId: oldId});
+ cursor.forEach(function () {
+ 'use strict';
+ const comment = arguments[0];
+ comment.cardId = _id;
+ comment._id = null;
+ CardComments.insert(comment);
});
}
Popup.close();