Closed Toflar closed 6 years ago
Yeah I thought about that but I just couldn't come up with any valid use case why one would have ever done that. And even if we'd leave the class there, nothing would happen because the callback is not called anymore so...
Ok, fine for me then.
Thank you @Toflar.
The problem is that
Backend
executes$this->objAjax->executePostActions($dc);
before thecallback
of the registered module is called. Actually not even before but it doesn't call the callback at all if there are ajax requests. So basically no ajax operation can work which is why I removed the callback which was not necessary anyway and put it into aonload_callback
which is what I would do in a custom module anyway.This means anything that's possible in a regular DC is now possible in the back end user profile as well.
Fixes https://github.com/contao/core-bundle/issues/1552