Post editing: fixed problem with focus
This commit is contained in:
parent
d01a087b30
commit
d2946e0148
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ $(function()
|
||||||
tagItOptions.availableTags = tags;
|
tagItOptions.availableTags = tags;
|
||||||
tagItOptions.placeholderText = $('.tags input').attr('placeholder');
|
tagItOptions.placeholderText = $('.tags input').attr('placeholder');
|
||||||
$('.tags input').tagit(tagItOptions);
|
$('.tags input').tagit(tagItOptions);
|
||||||
|
formDom.find('input[type=text]:visible:eq(0)').focus();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue