SMILEConsortium / node-smile-server

3 stars 4 forks source link

In IQManager, Session detail grows the list of questions in the IQSet after each view. #90

Closed truedat101 closed 10 years ago

truedat101 commented 10 years ago

Another problem with not removing all the iqdata in the Knockout.js observableArray().

truedat101 commented 10 years ago

Need to fix this.

truedat101 commented 10 years ago

Verified this problem. :-1:

truedat101 commented 10 years ago

we can't do this: ko.utils.arrayPushAll(globalViewModel.sessionSummary.iqdata, data.iqset);

without first removeAll().

truedat101 commented 10 years ago

Also affects the session details. Need to remove those items before we push to the array.