From 60f486d94144584cb9c98015809d00c487e0c3ba Mon Sep 17 00:00:00 2001 From: sahil839 Date: Sun, 28 Mar 2021 12:24:41 +0530 Subject: [PATCH] confirm_dialog: Add close-modal-btn class to cancel buttons. This commit adds "close-modal-btn" class to cancel button in the modal and cross icon. We do this change because we would add a modal for unsubscribing from private stream in further commit using confirm_dialog module. We would need to avoid the unexpected closing of stream settings on closing the modal which can be done by calling 'e.stopPropagation' to prevent propagating of events in other elements. Thus, adding this class will mean that the handler used for stream privacy modal for this same task will be used for unsubscribe modal also. --- static/templates/confirm_dialog.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/templates/confirm_dialog.hbs b/static/templates/confirm_dialog.hbs index e8fc2cbf0f..1830d07cc8 100644 --- a/static/templates/confirm_dialog.hbs +++ b/static/templates/confirm_dialog.hbs @@ -1,12 +1,12 @@