summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorDaniel Kreuter <daniel.kreuter85@gmail.com>2018-05-25 19:44:49 +0200
committerDaniel Kreuter <daniel.kreuter85@gmail.com>2018-05-25 19:44:49 +0200
commitbe507e567a48c0cefef5a472fc73ce0d2dafa82c (patch)
tree2834dfce55be43437d426dca5c32a200096d0039 /client
parent4b2010213907c61b0e0482ab55abb06f6a668eac (diff)
downloadwekan-be507e567a48c0cefef5a472fc73ce0d2dafa82c.tar.gz
wekan-be507e567a48c0cefef5a472fc73ce0d2dafa82c.tar.bz2
wekan-be507e567a48c0cefef5a472fc73ce0d2dafa82c.zip
Extend editCardReceivedDatePopup and editCardEndDatePopup from DatePicker to fix #1654
Diffstat (limited to 'client')
-rw-r--r--client/components/cards/cardDate.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js
index f33e8c19..52a48f47 100644
--- a/client/components/cards/cardDate.js
+++ b/client/components/cards/cardDate.js
@@ -93,7 +93,7 @@ Template.dateBadge.helpers({
});
// editCardReceivedDatePopup
-(class extends EditCardDate {
+(class extends DatePicker {
onCreated() {
super.onCreated();
this.data().receivedAt && this.date.set(moment(this.data().receivedAt));
@@ -156,7 +156,7 @@ Template.dateBadge.helpers({
}).register('editCardDueDatePopup');
// editCardEndDatePopup
-(class extends EditCardDate {
+(class extends DatePicker {
onCreated() {
super.onCreated();
this.data().endAt && this.date.set(moment(this.data().endAt));
@@ -355,4 +355,3 @@ CardEndDate.register('cardEndDate');
return this.date.get().format('l');
}
}).register('minicardEndDate');
-