[-] BO : #PSFV-775 - Fix bug with for ajax reload

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14637 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-04-13 15:26:43 +00:00
parent bb13bf8db2
commit 2befe3cd42
@@ -51,7 +51,8 @@
data : form_datas,
success : function(res)
{
document.write(res);
// Replace de body by the new one
$('body').html(res.replace(/^.*<body>/, '').replace(/<\/body>.*$/, ''));
}
});
});