From: Andrew Dolgov Date: Sun, 7 Nov 2010 09:55:52 +0000 (+0300) Subject: editArticleTags: focus tag input box X-Git-Tag: 1.5.0~384 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=126cd3c8853cb4857dd3f2c98d4f4bcce4061193;p=tt-rss.git editArticleTags: focus tag input box --- diff --git a/viewfeed.js b/viewfeed.js index e2b20779..95ba610e 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -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" }); });