Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

BUG:The option “list similar questions when asking” is checked, then a bug appeared when edit title.

+2 votes
asked Aug 3, 2012 in Q2A Core by anonymous

This page:  http://www.question2answer.org/qa/ask

When we finished editing the title, a related question list appears.

But in IE8, then the cursor appears in the tags box.

like this:


How can I fix it?

Q2A version: 1.5
commented Aug 3, 2012 by Scott
Confirmed. That's a strange bug.
commented Aug 3, 2012 by gidgreen
Thanks. I will look into this for Q2A 1.5.3.

1 Answer

+1 vote
answered Sep 12, 2012 by gidgreen

This has now been fixed, and the fix will be rolled into Q2A 1.5.3. If you want to apply it now, make the following changes to qa-content/qa-ask.js:

1. In the first function qa_title_change() change:


... to...


2. Change the following line in function qa_tag_hints()

var parts=qa_tag_typed_parts(elem);

... to ...

var parts=skipcomplete ? null : qa_tag_typed_parts(elem);

3. And in the same function, change:

if (parts.typed && qa_tags_complete) {

... to ...

if (parts && parts.typed && qa_tags_complete) {

The final code in Q2A 1.5.3 will be a little different but it's the same idea.

commented Sep 12, 2012 by icebluehorse
Wow,thanks very much.
Now I can try to enable the "list similar questions when asking" function.