[-] 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:
@@ -51,7 +51,8 @@
|
|||||||
data : form_datas,
|
data : form_datas,
|
||||||
success : function(res)
|
success : function(res)
|
||||||
{
|
{
|
||||||
document.write(res);
|
// Replace de body by the new one
|
||||||
|
$('body').html(res.replace(/^.*<body>/, '').replace(/<\/body>.*$/, ''));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user