If the referenced Content Type has an OpenLayer Map, it will not be displayed because none of the openlayer.js will be loaded.

Is there a workaround?

Comments

bojanz’s picture

Title: OpenLayer Map is not compatible with Inline Entity Form » Not compatible with Inline Entity Form
Project: Inline Entity Form » Openlayers
Version: 7.x-1.5 » 7.x-3.x-dev

Well let's ask them.
I am guessing that the module is adding the JS in a way that isn't triggered when IEF calls field_attach_form().

mahalo13’s picture

Does anyone have the same Problem and has solved this with a workaround?

m.stenta’s picture

Status: Active » Postponed (maintainer needs more info)

A lot of code has changed since this was last posted - I'm wondering if this may already be fixed. Can you try again with the latest 7.x-3.x and let us know?

Pol’s picture

Status: Postponed (maintainer needs more info) » Fixed

This should now be working since we're using render array and assets are loaded through '#attached' instead of 'drupal_add_js()'.

I'm closing the issue, feel free to reopen if it doesn't work.

Status: Fixed » Closed (fixed)

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