From 126cd3c8853cb4857dd3f2c98d4f4bcce4061193 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Nov 2010 12:55:52 +0300 Subject: [PATCH] editArticleTags: focus tag input box --- viewfeed.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" }); }); -- 2.39.5