When using the context ui, when one saves the box, the displays stays on the form, it should switch the the view display of the box

Comments

tirdadc’s picture

Version: » 7.x-1.x-dev

It seems like it's saving the entity, but the regular box submit action is not processed then during the initial creation process.

If you refresh the page and drop the created instance, it can then be saved like a regular box. I think the original box #submit action is potentially missing in the creation phase and only the entity one is there.

tirdadc’s picture

Priority: Normal » Major
jec006’s picture

StatusFileSize
new3.96 KB

Here's a patch. I also fixed some indentation inside the form function (which makes the patch look longer). The only real changes are down at the bottom of the patch.

jec006’s picture

Status: Active » Needs review
tirdadc’s picture

Status: Needs review » Fixed

Tested, and it works great. I also tested adding a custom entity box from admin/structure/block before and after applying the patch, and that's broken altogether at the moment so it's not caused by this set of changes. I'll create a separate ticket for it.

Committed now, thanks.

Status: Fixed » Closed (fixed)

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