dis -> fav
darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz
This commit is contained in:
parent
a0ef34cb1a
commit
515f7875ce
@ -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); ;
|
||||||
}};
|
}};
|
||||||
|
Loading…
Reference in New Issue
Block a user