terminal42 / contao-dcawizard

A Contao CMS widget to handle external table records in the edit mode of the parent record.
10 stars 10 forks source link

pass tablename to button_callback for generic callbacks #21

Closed rabauss closed 5 years ago

rabauss commented 5 years ago

The tablename was missing in the button_callback. Without the tableName you cannot write generic callbacks mit permission-check etc.

Obviously there are some more parameters in the core button_callback ($arrRootIds, $arrChildRecordIds, $blnCircularReference, $strPrevious, $strNext, $this). But they are not so easy available in the dcaWizard and for normal generic callbacks not necessary.

qzminski commented 5 years ago

Thank you @rabauss! I will release 2.4.5 stable in a second.