diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-09-18 11:07:53 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-09-18 11:07:53 -0400 |
commit | a0ef34cb1a2bfdc266f48fe13da75815c96941f9 (patch) | |
tree | 829e66e085fab9ba183edc28f1834b24855915cb /js/util.js | |
parent | 950102329522aba7c0cc6f6bb24e5f0cb1ccc14e (diff) |
have to add the ajaxHidden thing, too
darcs-hash:20080918150753-5ed1f-ffb32e350a24e7a425f5ce2b46b3248f22523d2a.gz
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js index 98dce3694..11fc6e68a 100644 --- a/js/util.js +++ b/js/util.js @@ -61,7 +61,7 @@ $(document).ready(function(){ var dis = new_form.id; var fav = dis.replace('disfavor', 'favor'); $('form#'+fav).replaceWith(new_form); - $('form#'+dis).ajaxForm(disoptions); + $('form#'+dis).ajaxForm(disoptions).each(addAjaxHidden); }}; var disoptions = {dataType: 'xml', @@ -70,7 +70,7 @@ $(document).ready(function(){ var fav = new_form.id; var dis = dis.replace('favor', 'disfavor'); $('form#'+dis).replaceWith(new_form); - $('form#'+fav).ajaxForm(favoptions); + $('form#'+fav).ajaxForm(favoptions).each(addAjaxHidden); ; }}; function addAjaxHidden() { |