Last active
September 10, 2020 13:02
-
-
Save iaindooley/7d042116174d2cc5ffc8babeaf472ffc to your computer and use it in GitHub Desktop.
Add function in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this function into line 847 of apps/trellinator-libs/Card.gs: | |
/** | |
* Mark the due date on this card incomplete | |
* @memberof module:TrelloEntities.Card | |
* @example | |
* //Mark the due date complete on a card that was moved into the Done list | |
* new Notification(posted).movedCard("Done").markDueDateIncomplete(); | |
*/ | |
this.markDueDateIncomplete = function() | |
{ | |
TrelloApi.put("cards/"+this.data.id+"?dueComplete=false"); | |
this.data.dueComplete = false; | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment