Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
bots settings: Stop modal from getting closed when an error is shown.
akshatdaltonb9a318485c02
diff --git a/static/js/settings_bots.js b/static/js/settings_bots.jsindex 58f03e1bc0d..0b0af2aa566 100644--- a/static/js/settings_bots.js+++ b/static/js/settings_bots.js@@ -542,7 +542,6 @@ export function set_up() {loading.destroy_indicator(spinner);edit_button.show();errors.text(JSON.parse(xhr.responseText).msg).show();- overlays.close_modal("#edit_bot_modal");},});},diff --git a/static/styles/settings.css b/static/styles/settings.cssindex 4e1115910a6..4a114cb385b 100644--- a/static/styles/settings.css+++ b/static/styles/settings.css@@ -825,6 +825,10 @@ input[type="checkbox"] {font-weight: 400;}+.bot_edit_errors {+ margin: 20px 20px 0 20px;+}+#bots_lists_navbar .active a {background-color: hsl(0, 0%, 98%);}