[-] 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:
@@ -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);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user