Focus on new subscription text box after adding a new subscription.

(imported from commit d23bc2d15cce67bc75c2f4ef406de73373b8f3ea)
This commit is contained in:
Jessica McKellar 2012-10-03 11:10:44 -04:00
parent 01bc4aaf28
commit f4e04a045a
1 changed files with 1 additions and 0 deletions

View File

@ -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"));