FluidTYPO3/fluidcontent — pull request #85 by benjaminrau (2013-09-03 11:15:05+00:00)
Title: [BUGFIX] Content Selector options werent filled in list view

Retrieving Page Id with t3lib_div::_GET('id') is not possible in list view.

We have to retrieve and set the current page id on conditions object that the conditions in .FED_CONTENT (like PIDinRootline) match correctly.

So to retrieve Page ID also in list view we lookup the pid where the parent record is stored.

Also for new records there is no problem with retrieving page id from this source because when the Content type is changed to "Fluid content" a reload is forced - after that the page id is available in parameters!