summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicu Tofan <nicu.tofan@gmail.com>2018-06-24 17:42:58 +0300
committerNicu Tofan <nicu.tofan@gmail.com>2018-06-26 14:32:50 +0300
commita0c02f4a5008f9ce47a4dac811aad7efdef5cc21 (patch)
treec8f9a0d320e47edd2fc76d8f376deee85dca41b5
parent50f170b75d9d149bd333091fb5f7ba150c245b15 (diff)
downloadwekan-a0c02f4a5008f9ce47a4dac811aad7efdef5cc21.tar.gz
wekan-a0c02f4a5008f9ce47a4dac811aad7efdef5cc21.tar.bz2
wekan-a0c02f4a5008f9ce47a4dac811aad7efdef5cc21.zip
typo in renaming itemDetail to checklistItemDetail
-rw-r--r--client/components/cards/checklists.jade4
-rw-r--r--client/components/cards/checklists.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/components/cards/checklists.jade b/client/components/cards/checklists.jade
index 7678f524..e45e7ad9 100644
--- a/client/components/cards/checklists.jade
+++ b/client/components/cards/checklists.jade
@@ -74,7 +74,7 @@ template(name="checklistItems")
+inlinedForm(classNames="js-edit-checklist-item" item = item checklist = checklist)
+editChecklistItemForm(type = 'item' item = item checklist = checklist)
else
- +cjecklistItemDetail(item = item checklist = checklist)
+ +checklistItemDetail(item = item checklist = checklist)
if canModifyCard
+inlinedForm(autoclose=false classNames="js-add-checklist-item" checklist = checklist)
+addChecklistItemForm
@@ -83,7 +83,7 @@ template(name="checklistItems")
i.fa.fa-plus
| {{_ 'add-checklist-item'}}...
-template(name='cjecklistItemDetail')
+template(name='checklistItemDetail')
.js-checklist-item.checklist-item
if canModifyCard
.check-box.materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}")
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js
index a62e493e..519af629 100644
--- a/client/components/cards/checklists.js
+++ b/client/components/cards/checklists.js
@@ -204,7 +204,7 @@ Template.checklistDeleteDialog.onDestroyed(() => {
$cardDetails.animate( { scrollTop: this.scrollState.position });
});
-Template.cjecklistItemDetail.helpers({
+Template.checklistItemDetail.helpers({
canModifyCard() {
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
},
@@ -223,4 +223,4 @@ BlazeComponent.extendComponent({
'click .js-checklist-item .check-box': this.toggleItem,
}];
},
-}).register('cjecklistItemDetail');
+}).register('checklistItemDetail');