SMILEConsortium / node-smile-server

3 stars 4 forks source link

In Student Web UI, results view question detail shows wrong question #. #87

Closed truedat101 closed 10 years ago

truedat101 commented 10 years ago

It always shows the last number in the question set. So if it was out of 8 question, it always shows Question 8.

truedat101 commented 10 years ago

in the call to showIQ2() of smilestudent.js we pop up the reveal modal containing the question results. Somehow qidx()+1 is set to the current index, not the index of the question we are viewing.

truedat101 commented 10 years ago

Seems we forgot to set qidx() in the view model when we call doGetInquiry();

truedat101 commented 10 years ago

fixed