summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-10 08:35:55 +0100
committerAndrew Dolgov <[email protected]>2007-08-10 08:35:55 +0100
commit05fcdf52b292b7da75b6b12156dbc4ba678349e3 (patch)
tree6f07450f372b7b90834de7d7623bbf3db7637105 /functions.js
parentd84f95234a1825fadc25e35c78492bf7b9838393 (diff)
tag editor: autocomplete
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js9
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);