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

Fix version edit url for ajax toggle operation #147

Closed rabauss closed 4 years ago

rabauss commented 4 years ago

Unfortunately the version edit url is not correct while using ajax toggle. I was not sure if other operations are handled as well with the AjaxOperations, because of that I added the check $operation !== 'toggle' - maybe that is not neccesary...

Toflar commented 4 years ago

Should be no issue because we're checking for hasteAjaxOperation.

Toflar commented 4 years ago

Otherwise that looks good imho, thanks :)

qzminski commented 4 years ago

I have just released 4.24.7, thank you @rabauss !