summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authormillette <millette@controlyourself.ca>2008-11-17 12:31:44 -0500
committermillette <millette@controlyourself.ca>2008-11-17 12:31:44 -0500
commite369c5f740ccf1b10bf97c41c72d8723dd21cd30 (patch)
tree5fe26aedb46fd814ed104fc49496dcb5756bc51d /js/util.js
parent87d0235b54613d97162ad0e90ac9a562332dbb41 (diff)
nudge : added js code to enable ajax
darcs-hash:20081117173144-099f7-b475f072ddc36e03143e05698e86186955566db9.gz
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index d0673b839..53fc58011 100644
--- a/js/util.js
+++ b/js/util.js
@@ -89,6 +89,7 @@ $(document).ready(function(){
$("#nudge").ajaxForm ({ dataType: 'xml',
success: function(xml) { $("#nudge").replaceWith(document._importNode($("#nudge_response", xml).get(0),true)); }
});
+ $("#nudge").each(addAjaxHidden);
$("#nudge .submit").bind('click', function(e) { $(this).addClass("processing"); });
});
@@ -104,4 +105,4 @@ function doreply(nick,id) {
}
}
return true;
-} \ No newline at end of file
+}