elliot-sawyer / silverstripe-linkfield

Adds a Linkfield for gorriecoe/silverstripe-link
BSD 3-Clause "New" or "Revised" License
9 stars 25 forks source link

Fields do not appear - hasonefield entwine error #14

Closed jules0x closed 4 years ago

jules0x commented 5 years ago

Current state: On a versioned DataObject with multiple links, I cannot create a link as the different link type options do not refresh when the selection is changed. The following error is visible in the console on the DataObject.

hasonefield.js?m=1545272442:2 Uncaught TypeError: $.entwine is not a function
    at hasonefield.js?m=1545272442:2
    at hasonefield.js?m=1545272442:13

If I refresh the "create new link" page, the error is not present and the link creation behaves as expected.

SilverStripe: 4.4.0 gorriecoe/silverstripe-link: 1.2.4 gorriecoe/silverstripe-linkfield: 1.0.0 silvershop/silverstripe-hasonefield: 3.0.1

elliot-sawyer commented 4 years ago

This was fixed in https://github.com/gorriecoe/silverstripe-linkfield/pull/15