summaryrefslogtreecommitdiff
path: root/modules/tag/js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-27 05:45:17 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-27 05:45:17 +0000
commitd16790de0cc5e5c0c0783ae3150fd1945fdcef3c (patch)
treeca0a515f78d5af07851dc3f65f8cb1163480ddf0 /modules/tag/js
parent72d16756b169e1f751470670eececf76e88b2bd7 (diff)
Get rid of the placeholder "add tags here..." text, and clear the form
on submit.
Diffstat (limited to 'modules/tag/js')
-rw-r--r--modules/tag/js/tag.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js
index fbcbd419..8f93e9ff 100644
--- a/modules/tag/js/tag.js
+++ b/modules/tag/js/tag.js
@@ -10,6 +10,7 @@ function ajaxify_tag_form() {
$.get($("#gTagCloud").attr("src"), function(data, textStatus) {
$("#gTagCloud").html(data);
});
+ $("form#gAddTag").clearForm();
}
ajaxify_tag_form();
}