|
@@ -776,6 +776,10 @@ BlazeComponent.extendComponent({
|
|
|
return this.currentBoard.allowsComments;
|
|
|
},
|
|
|
|
|
|
+ allowsCardNumber() {
|
|
|
+ return this.currentBoard.allowsCardNumber;
|
|
|
+ },
|
|
|
+
|
|
|
allowsDescriptionTitle() {
|
|
|
return this.currentBoard.allowsDescriptionTitle;
|
|
|
},
|
|
@@ -1019,6 +1023,22 @@ BlazeComponent.extendComponent({
|
|
|
this.currentBoard.allowsDescriptionTitle,
|
|
|
);
|
|
|
},
|
|
|
+ 'click .js-field-has-card-number'(evt) {
|
|
|
+ evt.preventDefault();
|
|
|
+ this.currentBoard.allowsCardNumber = !this.currentBoard
|
|
|
+ .allowsCardNumber;
|
|
|
+ this.currentBoard.setAllowsCardNumber(
|
|
|
+ this.currentBoard.allowsCardNumber,
|
|
|
+ );
|
|
|
+ $(`.js-field-has-card-number ${MCB}`).toggleClass(
|
|
|
+ CKCLS,
|
|
|
+ this.currentBoard.allowsCardNumber,
|
|
|
+ );
|
|
|
+ $('.js-field-has-card-number').toggleClass(
|
|
|
+ CKCLS,
|
|
|
+ this.currentBoard.allowsCardNumber,
|
|
|
+ );
|
|
|
+ },
|
|
|
'click .js-field-has-description-text'(evt) {
|
|
|
evt.preventDefault();
|
|
|
this.currentBoard.allowsDescriptionText = !this.currentBoard
|