From 144b36a11a4905d167b6daca67bb121c0f71ace6 Mon Sep 17 00:00:00 2001 From: Lothindir Date: Fri, 28 Jun 2019 22:16:14 +0200 Subject: [PATCH] Added modal event listener --- src/views/Planification.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/Planification.vue b/src/views/Planification.vue index 3c8dd1b..5a9a0c8 100644 --- a/src/views/Planification.vue +++ b/src/views/Planification.vue @@ -54,7 +54,7 @@ }" class="z-10" /> - + @@ -185,7 +185,8 @@ /* Stores the current selection */ selectionChanged: function (selectionInfo) { this.selectionInfo = selectionInfo; - }, dateChanged: function(dateInfo) { + }, + dateChanged: function(dateInfo) { this.selectionInfo = null; this.showModalDialog({ start: dateInfo.date, @@ -220,6 +221,9 @@ }); } }, + addModalEvent: function(event) { + //event.title; + }, clearModalDialog: function(){ this.showModal = false; this.selectionInfo = null;