summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-07 12:55:52 +0300
committerAndrew Dolgov <[email protected]>2010-11-07 12:55:52 +0300
commit126cd3c8853cb4857dd3f2c98d4f4bcce4061193 (patch)
tree2cf5f5b4a7a9384163d5c1f5ca859c0df08adcb8 /viewfeed.js
parentff0010c182c1643cc5e0c516e95ed50e18004068 (diff)
editArticleTags: focus tag input box
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index e2b20779e..95ba610e2 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" });
});