This commit is contained in:
Roman Pyrih
2025-06-27 10:06:12 +02:00
parent c364a3f21b
commit 519cb8f5ea
8 changed files with 4588 additions and 4457 deletions

View File

@@ -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,
})
}
}