From 6c2869f8227944e56b6bb73da0d72b4c52f87da9 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 29 Nov 2008 21:30:30 +0000 Subject: Changed CSS organization, removed form section. Moved generic form CSS up to top of sheet and specific form styles to be adjacent to related content. This should ensure inheritance works generic down to specific. Removed #gAddTags in favor of #gTags form. --- modules/tag/js/tag.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/tag/js') 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(); } -- cgit v1.2.3