summaryrefslogtreecommitdiff
path: root/modules/tag/js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-12-01 01:55:50 +0000
committerChad Kieffer <chad@2tbsp.com>2008-12-01 01:55:50 +0000
commit26a512c3522b4f59a06f5e3146df5d466373c06e (patch)
treec844a59a2f0fc20d43791fffa6854bd9c7ee0fb1 /modules/tag/js
parent6b03b798f3be23c83d0587f180341929c49af886 (diff)
Grouped inline form styles. No longer using gInline class in favor of specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup.
Diffstat (limited to 'modules/tag/js')
-rw-r--r--modules/tag/js/tag.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tag/js/tag.js b/modules/tag/js/tag.js
index 98643c2d..74e48998 100644
--- a/modules/tag/js/tag.js
+++ b/modules/tag/js/tag.js
@@ -3,14 +3,14 @@ $("document").ready(function() {
});
function ajaxify_tag_form() {
- $("#gTag form").ajaxForm({
+ $("#gAddTagForm").ajaxForm({
complete: function(xhr, statusText) {
- $("#gTag form").replaceWith(xhr.responseText);
+ $("#gAddTagForm").replaceWith(xhr.responseText);
if (xhr.status == 201) {
$.get($("#gTagCloud").attr("src"), function(data, textStatus) {
$("#gTagCloud").html(data);
});
- $("#gTag form").clearForm();
+ $("#gAddTagForm").clearForm();
}
ajaxify_tag_form();
}