The discuz forum will not return after resolving the vote, prompting Ajax errors to compromise the solution to common. js errors

Source: Internet
Author: User

The solution is not officially solved. Let's find a solution. Before the official version is released, the solution is as follows:
Misc. php line 298
To:

If (! Empty ($ inajax )){
Showmessage ('thread _ poll_succeed ', "viewthread. php? Tid = $ TID ");
} Else {
Showmessage ('thread _ poll_succeed ', "viewthread. php? Tid = $ TID ");
}
CopyCode
Find the File Include/JS/common. js. In line 890
Row:
If (s! = ''& S. indexof ('ajaxerror ')! =-1 ){
Copy code
, Add:
If (S = NULL ){
If (typeof submithandle_mod = 'function ')
{Submithandle_mod (window. Location. href );}
Else
{Location. href = Window. Location. href}
}
Copy code
You can test it .. For reference only

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.