mirror of https://github.com/zulip/zulip.git
Focus on new subscription text box after adding a new subscription.
(imported from commit d23bc2d15cce67bc75c2f4ef406de73373b8f3ea)
This commit is contained in:
parent
01bc4aaf28
commit
f4e04a045a
|
@ -375,6 +375,7 @@ $(function () {
|
|||
$('#subscriptions_table').prepend(templates.subscription({subscription: name}));
|
||||
class_list.push(name.toLowerCase());
|
||||
$("#subscriptions-status").fadeOut(0);
|
||||
$("#new_subscription").focus();
|
||||
},
|
||||
error: function (xhr) {
|
||||
report_error("Error adding subscription", xhr, $("#subscriptions-status"));
|
||||
|
|
Loading…
Reference in New Issue