Set focus to mod input

This commit is contained in:
Björn Dahlgren 2014-05-22 00:54:14 +02:00
parent ad40a749a1
commit 3d9fa4273d

View File

@ -36,6 +36,8 @@ define(function (require) {
$okBtn.addClass('ladda-button').attr('data-style', 'expand-left');
this.laddaBtn = Ladda.create($okBtn.get(0));
this.$el.find('form .mod').focus();
},
submit: function (modal) {