dis -> fav

darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz
This commit is contained in:
Evan Prodromou 2008-09-18 11:16:42 -04:00
parent a0ef34cb1a
commit 515f7875ce

View File

@ -68,7 +68,7 @@ $(document).ready(function(){
success: function(xml) { success: function(xml) {
var new_form = $('form.favor', xml).get(0); var new_form = $('form.favor', xml).get(0);
var fav = new_form.id; var fav = new_form.id;
var dis = dis.replace('favor', 'disfavor'); var dis = fav.replace('favor', 'disfavor');
$('form#'+dis).replaceWith(new_form); $('form#'+dis).replaceWith(new_form);
$('form#'+fav).ajaxForm(favoptions).each(addAjaxHidden); ; $('form#'+fav).ajaxForm(favoptions).each(addAjaxHidden); ;
}}; }};