]> git.wh0rd.org Git - tt-rss.git/commitdiff
editArticleTags: focus tag input box
authorAndrew Dolgov <fox@fakecake.org>
Sun, 7 Nov 2010 09:55:52 +0000 (12:55 +0300)
committerAndrew Dolgov <fox@fakecake.org>
Sun, 7 Nov 2010 09:55:52 +0000 (12:55 +0300)
viewfeed.js

index e2b20779ea1730ae5839651756c21609d7c0fbf5..95ba610e24b81aec0ee45ab62518393d2486afb5 100644 (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" });
                           });