[-] BO : fix bug #PSCFV-2897 - JS error on combination page
This commit is contained in:
1 parent
558745794e
commit
4faf469eb1
1 file changed
+8
-5
@@ -527,13 +527,16 @@ product_tabs['Prices'] = new function(){
|
|||||||
context: this,
|
context: this,
|
||||||
async: false,
|
async: false,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data.status == 'ok')
|
if (data !== null)
|
||||||
{
|
{
|
||||||
showSuccessMessage(data.message);
|
if (data.status == 'ok')
|
||||||
parent.remove();
|
{
|
||||||
|
showSuccessMessage(data.message);
|
||||||
|
parent.remove();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
showErrorMessage(data.message);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
showErrorMessage(data.message);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user