It actually does save the box, but you get an error and the user does not realize it saved.

CommentFileSizeAuthor
#1 entity-boxes-save-1419314-1.patch1.2 KBbrenk28

Comments

brenk28’s picture

StatusFileSize
new1.2 KB

This patch leaves out the AJAX include if you are coming from /admin/structure/block and avoids the AJAX error. (It redirects you to admin/content/entity_boxes instead of admin/structure/block after save, though.)

tirdadc’s picture

Status: Active » Needs work

I tried it out against the current dev, and it doesn't work (I still get the AJAX error).

tirdadc’s picture

Assigned: Unassigned » tirdadc
Status: Needs work » Fixed

OK, it turned out that the patch was generated at the wrong level (plugins/entity_boxes_entity.inc instead of a/plugins/entity_boxes_entity.inc) and was silently failing.

The code actually does work and allows you to creates entity boxes through /admin/structure/block without getting the AJAX error. You still can't get the entity form elements when you click on the configure link there, so that will need to be fixed separately. Committed, thanks for this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.