Jump to content

Deleteing product image in backoffice TypeError: data.content is undefined


Recommended Posts

If you go to backoffice and edit a product to remove image the page stays as it is after the confirmation box to delete the image.

No reload happens , iamge still shown there.

But with firebug you see a JSON.parse: unexpected character as error happend.

After manually reload page the image seems to be deleted.

Please fix the deletion ajax call.

 

 

Also seeing this:
TypeError: data.content is undefined
id = data.content.id;

 

 

already checked, it seems the callback function does not get the required id from json returned.

 

File: \admin123\themes\default\template\controllers\products\images.tpl

 

function afterDeleteProductImage(data)

 

Has anybody also seen this with PS 1.6.0.6

Edited by BluTiGeS (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 3 months later...
×
×
  • Create New...