focus newly added input in receive

This commit is contained in:
wvengen 2013-11-26 13:00:34 +01:00
parent 853e8ba9d2
commit 9cb9bf6c1a

View file

@ -11,4 +11,6 @@ $('div.container-fluid').prepend(
$('.ordered-articles tbody').append(article_for_adding); $('.ordered-articles tbody').append(article_for_adding);
updateSort('.ordered-articles'); updateSort('.ordered-articles');
$('#order_articles_<%= @order_article.id %>_units_received').focus();
})(); })();