From b12cafd377906299f9503be8d1a13f32b570b5d5 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 7 May 2013 16:14:05 -0700 Subject: [PATCH] Auto-focus the name field when showing copy form. --- r2/r2/public/static/js/multi.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/r2/r2/public/static/js/multi.js b/r2/r2/public/static/js/multi.js index 5ea6ebb5e..c78330707 100644 --- a/r2/r2/public/static/js/multi.js +++ b/r2/r2/public/static/js/multi.js @@ -271,7 +271,9 @@ r.multi.MultiDetails = Backbone.View.extend({ }, showCopyMulti: function() { - this.$('form.copy-multi').show() + this.$('form.copy-multi') + .show() + .find('.copy-name').focus() }, copyMulti: function(ev) {