Save
This commit is contained in:
@@ -115,6 +115,7 @@ let PdProductAttributesList = {
|
||||
Object.entries(resp).forEach(([k, v]) => {
|
||||
if (v.response) {
|
||||
if (v.id_product_attribute > 0) {
|
||||
console.log('click1')
|
||||
message_ok =
|
||||
pdproductattributeslist_product +
|
||||
'<b> ' +
|
||||
@@ -131,6 +132,7 @@ let PdProductAttributesList = {
|
||||
duration: 1000,
|
||||
})
|
||||
} else {
|
||||
console.log('click2')
|
||||
message_ok =
|
||||
pdproductattributeslist_product +
|
||||
'<b> ' +
|
||||
@@ -145,6 +147,7 @@ let PdProductAttributesList = {
|
||||
}
|
||||
} else if (v.response == false) {
|
||||
if (v.id_product_attribute > 0) {
|
||||
console.log('click3')
|
||||
message_error =
|
||||
pdproductattributeslist_product +
|
||||
'<b> ' +
|
||||
@@ -165,6 +168,7 @@ let PdProductAttributesList = {
|
||||
duration: 1000,
|
||||
})
|
||||
} else {
|
||||
console.log('click4')
|
||||
message_error =
|
||||
pdproductattributeslist_product +
|
||||
'<b> ' +
|
||||
@@ -178,7 +182,7 @@ let PdProductAttributesList = {
|
||||
$.growl.error({
|
||||
title: pdproductattributeslist_title_error,
|
||||
message: message_error,
|
||||
duration: 1000,
|
||||
duration: 5000,
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -219,6 +223,7 @@ let PdProductAttributesList = {
|
||||
$.growl.error({
|
||||
title: pdproductattributeslist_title_error,
|
||||
message: pdproductattributeslist_add_error,
|
||||
duration: 5000,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user