[-] BO : fix bug #PSCFV-2897 - JS error on combination page

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16119 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-06-25 14:29:39 +00:00
parent 58c9e3baa5
commit a6150e4e28
+8 -5
View File
@@ -527,13 +527,16 @@ product_tabs['Prices'] = new function(){
context: this,
async: false,
success: function(data) {
if (data.status == 'ok')
if (data !== null)
{
showSuccessMessage(data.message);
parent.remove();
if (data.status == 'ok')
{
showSuccessMessage(data.message);
parent.remove();
}
else
showErrorMessage(data.message);
}
else
showErrorMessage(data.message);
}
});
};