When I try to use button Delete File 1 in Block configuration, ajax is loading but the image is not deleted.

Comments

arcaneadam’s picture

Status: Active » Postponed (maintainer needs more info)

You still have to save the block not just delete the image.

tomas.teicher’s picture

Thank you for answer.
I have still one more problem with deleting file. I got this error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /en/system/ajax
StatusText: OK
ResponseText:
Fatal error: Call to undefined function piecemaker_blocks_delete_file() in mywebsite.com/includes/form.inc on line 1414

arcaneadam’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This is a bug. It will be fixed in the next release. It might already be in the dev version of the module (I don't remember whether I committed it yet or not). If not I'll commit it later today and you can try the dev version tomorrow when it updates.

tomas.teicher’s picture

I have latest dev version and I have this error message. Plaase, commit the fix if you have already solution.