codefog / contao-haste

Haste is a collection of tools and classes to ease working with Contao
http://codefog.pl/extension/haste.html
MIT License
43 stars 24 forks source link

Make ajax toggle compatible with dcawizard #142

Closed richardhj closed 5 years ago

richardhj commented 5 years ago

When in the dcawizard, the toggle operation fails. The reason is that the DataContainer will be built for the parent table of the item, not the correct particular table. Therefore, the table parameter must be present in the URL.

Sister PR in terminal42/contao-dcawizard#22.

Toflar commented 5 years ago

Are you sure we only need table and nothing else?

richardhj commented 5 years ago

Yes, because of Backend.php lin 325. This is all it needs to build the correct DC.

Toflar commented 5 years ago

Very good, @qzminski can you double check, minify and relase?

qzminski commented 5 years ago

Thanks a lot @richardhj !