diff options
Diffstat (limited to 'modules/tag/js')
-rw-r--r-- | modules/tag/js/tag.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js index 8f93e9ff..98643c2d 100644 --- a/modules/tag/js/tag.js +++ b/modules/tag/js/tag.js @@ -3,14 +3,14 @@ $("document").ready(function() { }); function ajaxify_tag_form() { - $("form#gAddTag").ajaxForm({ + $("#gTag form").ajaxForm({ complete: function(xhr, statusText) { - $("form#gAddTag").replaceWith(xhr.responseText); + $("#gTag form").replaceWith(xhr.responseText); if (xhr.status == 201) { $.get($("#gTagCloud").attr("src"), function(data, textStatus) { $("#gTagCloud").html(data); }); - $("form#gAddTag").clearForm(); + $("#gTag form").clearForm(); } ajaxify_tag_form(); } |