Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
618 views
in Q2A Core by

Although I cannot clarify conditions, javascript error occurs at the time of form operation, and ajax processing don't finish.

I wish improvement of qa-page.js (L39 - qa_set_inner_html()).

Before:

function qa_set_inner_html(elem, type, html)
{
    elem.innerHTML=html;
}

After:

function qa_set_inner_html(elem, type, html)
{
    if (elem)
        elem.innerHTML=html;
}

Related question(2012-04):
http://www.question2answer.org/qa/14327/javascript-error-at-first-answer

Q2A version: V1.5, V1.6

1 Answer

+1 vote
by
selected by
 
Best answer
Done, but it will have to wait for Q2A 1.6.1 to be released :)
by
Thank you gid.
...