AnsPress 2.0 – Ask Question page not working properly anymore.

6.12K viewsCore
0

After updating to commit 484932e05586180940ac7c7b9c0071ad1c548d83, the Ask Question page does not work properly anymore.
Well, you can still post questions, but after successfully posting a question, the page does not redirect anymore.
And when for example a required field is not filled, the error is not shown anymore.
The backend (php) still seems to work, I get the correct responses (HTTP 200 + json):

{"form":"ask_form","message_type":"error","message":"Check missing fields and then re-submit.","errors":{"title":"This field is required","description":"This field is required","tag":"This field is required"},"ap_responce":true,"is_ap_ajax":true}

but then I get

 Uncaught TypeError: Cannot read property 'setContent' of null             anspress_site.js?ver=1.4.3:169

Is this version 1.4.3 accurate?

0

Issue fixed please check once

Hi Rahul,

It is working in Chrome but I can’t get it to work in FF and IE… even after clearing the caches… weird. Will check this again.

!! => One other thing I noticed is that, if you enter a title and a description but forget to add a tag and then submit, you get a warning message that you need to specify a tag. This is correct of course, but the description field is wiped. Can you please have a look at this?

Checked and working fine. Thanks.

You are viewing 1 out of 2 answers, click here to view all answers.