Matthew Hailwood 5810ecf7b9 Populate foreign key before getting CMS fields
In it's current state you need to revert to something like `Session::get('CMSMain.currentPage')` to get the foreign key of what the item you are creating relates to (e.g. a Book => has_many Author) - if you create a new Author you may need to reference the owning Book in the `getCMSFields` function.

This is just a small quality of life buff that populates that foreign key before calling `getCMSFields()` rather than after.

This should not break backwards compatibility in any way and isn't exactly a new feature so could be considered a bug fix.
2016-02-28 20:56:10 +13:00
..
2016-01-07 10:15:54 +13:00
2016-01-19 17:08:40 +13:00
2015-04-30 16:21:33 +12:00
2015-04-30 11:53:02 +12:00
2014-08-19 09:17:15 +12:00
2015-04-30 11:20:46 +12:00
2014-08-19 09:17:15 +12:00