editArticleTags: focus tag input box

This commit is contained in:
Andrew Dolgov 2010-11-07 12:55:52 +03:00
parent ff0010c182
commit 126cd3c885
1 changed files with 3 additions and 1 deletions

View File

@ -1424,7 +1424,9 @@ function catchupSelection() {
function editArticleTags(id, feed_id, cdm_enabled) {
displayDlg('editArticleTags', id,
function () {
new Ajax.Autocompleter('tags_str', 'tags_choices',
$("tags_str").focus();
new Ajax.Autocompleter('tags_str', 'tags_choices',
"backend.php?op=rpc&subop=completeTags",
{ tokens: ',', paramName: "search" });
});