From 86a814cfb57be99f049df394dc09c0568a712f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 29 Jun 2018 00:08:09 +0200 Subject: [PATCH] init pickaday when collection entry is added --- Resources/public/js/collection/collections.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/public/js/collection/collections.js b/Resources/public/js/collection/collections.js index 6c8fa1131..60b34fb17 100644 --- a/Resources/public/js/collection/collections.js +++ b/Resources/public/js/collection/collections.js @@ -57,6 +57,7 @@ var handleAdd = function(button) { entry.classList.add('chill-collection__list__entry'); initializeRemove(collection, entry); collection.appendChild(entry); + chill.initPikaday('fr'); collection.dispatchEvent(event); window.dispatchEvent(event);