Issue #2598550 by edxxu: Fixed AJAX flag link doesn't update due to missing format parameter in the flag URL.