summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-22 06:33:38 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-22 06:33:38 +0000
commita330bdac62ddbc15232bc65d65e869b224880e3f (patch)
treef7ee82eb8b1ab52ff7b41b4c10cd3d10fcca2f0a /js
parentc20d0612bf51cff523f55b12095e7213be94355e (diff)
Moved nudge response from util.php to nudge.php
Adjusted some CSS
Diffstat (limited to 'js')
-rw-r--r--js/util.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/util.js b/js/util.js
index bb68c2587..579b4952a 100644
--- a/js/util.js
+++ b/js/util.js
@@ -108,16 +108,16 @@ $(document).ready(function(){
$("form.form_group_join").each(addAjaxHidden);
$("form.form_group_leave").each(addAjaxHidden);
- $("#nudge").ajaxForm ({ dataType: 'xml',
- beforeSubmit: function(xml) { $("form#nudge input[type=submit]").attr("disabled", "disabled");
- $("form#nudge input[type=submit]").addClass("disabled");
- },
- success: function(xml) { $("#nudge").replaceWith(document._importNode($("#nudge_response", xml).get(0),true));
- $("#nudge input[type=submit]").removeAttr("disabled");
- $("#nudge input[type=submit]").removeClass("disabled");
- }
- });
- $("#nudge").each(addAjaxHidden);
+ $("#form_user_nudge").ajaxForm ({ dataType: 'xml',
+ beforeSubmit: function(xml) { $("#form_user_nudge input[type=submit]").attr("disabled", "disabled");
+ $("#form_user_nudge input[type=submit]").addClass("disabled");
+ },
+ success: function(xml) { $("#form_user_nudge").replaceWith(document._importNode($("#nudge_response", xml).get(0),true));
+ $("#form_user_nudge input[type=submit]").removeAttr("disabled");
+ $("#form_user_nudge input[type=submit]").removeClass("disabled");
+ }
+ });
+ $("#form_user_nudge").each(addAjaxHidden);
var Subscribe = { dataType: 'xml',
beforeSubmit: function(formData, jqForm, options) { $(".form_user_subscribe input[type=submit]").attr("disabled", "disabled");