Issue #1843220 by mkadin, dawehner, Crell, effulgentsia, Wim Leers: Convert form AJAX to new AJAX API.