Forgot to change the ajax call to the new post function.