settings: Close user info popover before opening modal.

We should close user info popover for invite and bots page
before opening resend invite, revoke invite and bot edit modal.
This commit is contained in:
sahil839
2020-08-07 23:00:28 +05:30
committed by Tim Abbott
parent 1ae00a306b
commit e1636d30a9

View File

@@ -617,6 +617,10 @@ exports.initialize = function () {
settings_toggle.toggle_org_setting_collapse(); settings_toggle.toggle_org_setting_collapse();
}); });
$(".organization-box").on("show.bs.modal", () => {
popovers.hide_all();
});
$(".alert-box").on("click", ".stackframe .expand", function () { $(".alert-box").on("click", ".stackframe .expand", function () {
$(this).parent().siblings(".code-context").toggle("fast"); $(this).parent().siblings(".code-context").toggle("fast");
}); });