summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js
index a444e9ea1..fb4b5abfa 100644
--- a/js/util.js
+++ b/js/util.js
@@ -52,6 +52,14 @@ $(document).ready(function(){
// set the focus
$("#status_textarea").focus();
}
+
+ var options = {dataType: 'xml',
+ success: function(xml) {
+ // replace the form with what's returned
+ };
+
+ $("form.favor").ajaxForm(options);
+ $("form.disfavor").ajaxForm(options);
});
function doreply(nick) {