Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_group_create: Don't return unused channel request object.
afeefuddin549e7db55191
diff --git a/web/src/user_group_create.js b/web/src/user_group_create.jsindex b7c44a5b4b5..822b44bf6cb 100644--- a/web/src/user_group_create.js+++ b/web/src/user_group_create.js@@ -141,7 +141,7 @@ function create_user_group() {$t_html({defaultMessage: "The group description cannot contain newline characters."}),$(".user_group_create_info"),);- return undefined;+ return;}data.name = group_name;data.description = description;@@ -157,7 +157,7 @@ function create_user_group() {text: $t({defaultMessage: "Creating group..."}),});- return channel.post({+ channel.post({url: "/json/user_groups/create",data,success() {