From 763609f1e8d064d3a440aa54a384a5e6631f7574 Mon Sep 17 00:00:00 2001 From: FELIX CHERUIYOT Date: Tue, 20 Dec 2016 12:16:16 +0300 Subject: [PATCH] Fix bootstrap modal show and close issue Rever #266 to fix the modal issues. --- js/bootstrap-datetimepicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/bootstrap-datetimepicker.js b/js/bootstrap-datetimepicker.js index 777e5c5e..446b2a1a 100644 --- a/js/bootstrap-datetimepicker.js +++ b/js/bootstrap-datetimepicker.js @@ -405,7 +405,7 @@ } this.isVisible = true; this.element.trigger({ - type: 'show', + type: 'showDatetimePicker', date: this.date }); }, @@ -431,7 +431,7 @@ this.setValue(); this.isVisible = false; this.element.trigger({ - type: 'hide', + type: 'hideDatetimePicker', date: this.date }); },