From f4e04a045aabd56f5269f57c1413e4a51eb68078 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Wed, 3 Oct 2012 11:10:44 -0400 Subject: [PATCH] Focus on new subscription text box after adding a new subscription. (imported from commit d23bc2d15cce67bc75c2f4ef406de73373b8f3ea) --- zephyr/static/js/zephyr.js | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 91c0227022..21d42af647 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -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"));