Forum Moderators: coopster
I used the free Transposh plugin for the translation, which does a fantastic job.
We are happy to present you all with our newest wordpress plugin release. This is a rolling release that does not include any major changes or something that is too groundbreaking. So we’ll just walk over the changelog and explain the news.
Nous sommes heureux de vous présenter le tout avec notre communiqué récent plugin WordPress. Ceci est un communiqué de roulement qui ne comprend pas de changements majeurs ou quelque chose qui est trop révolutionnaire. Alors nous allons juste marcher sur le changelog et expliquer les nouvelles.
We are happy to present to you the all with our communication recent plugin wordpress, This is a communique of rolling which does not understand the changes major or something which is too revolutionary. So we are just going to walk on the changelog and explain the news.
[edited by: Leosghost at 1:04 am (utc) on Oct 18, 2011]
I thought it was a PHP thing (the Ajax call).
// Submit the product form using AJAX
jQuery("form.product_form, .wpsc-add-to-cart-button-form").live('submit', function() {
// we cannot submit a file through AJAX, so this needs to return true to submit the form normally if a file formfield is present
file_upload_elements = jQuery.makeArray(jQuery('input[type="file"]', jQuery(this)));
if(file_upload_elements.length > 0) {
return true;
} else {
form_values = jQuery(this).serialize();
// Sometimes jQuery returns an object instead of (blah blah blah...)
if(jQuery('#fancy_notification').length == 0) {
jQuery('div.wpsc_loading_animation',this).css('visibility', 'visible');
}
jQuery.post( 'index.php?ajax=true', form_values, function(returned_data) {
eval(returned_data);
jQuery('div.wpsc_loading_animation').css('visibility', 'hidden');
if(jQuery('#fancy_notification') != null) {
jQuery('#loading_animation').css("display", 'none');
//jQuery('#fancy_notificationimage').css("display", 'none');
}
});
wpsc_fancy_notification(this);
return false;
}
});