diff options
author | Andrew Dolgov <[email protected]> | 2007-08-10 08:35:55 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-10 08:35:55 +0100 |
commit | 05fcdf52b292b7da75b6b12156dbc4ba678349e3 (patch) | |
tree | 6f07450f372b7b90834de7d7623bbf3db7637105 /functions.js | |
parent | d84f95234a1825fadc25e35c78492bf7b9838393 (diff) |
tag editor: autocomplete
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 3fa9c69c0..c6ef5fba9 100644 --- a/functions.js +++ b/functions.js @@ -1470,6 +1470,15 @@ function infobox_callback() { box.style.display = "block"; } } + + /* FIXME this needs to be moved out somewhere */ + + if (document.getElementById("tags_choices")) { + new Ajax.Autocompleter('tags_str', 'tags_choices', + "backend.php?op=rpc&subop=completeTags", + { tokens: ',', paramName: "search" }); + } + notify(""); } catch (e) { exception_error("infobox_callback", e); |