Fix xmodule jasmine tests so they stop trying to reload

the page
This commit is contained in:
Diana Huang
2013-02-13 13:32:40 -05:00
parent 7a3a56d4bc
commit bb3fc20b8b

View File

@@ -404,7 +404,7 @@ class @CombinedOpenEnded
$.postWithPrefix "#{@ajax_url}/check_for_score", (response) =>
if response.state == "done" or response.state=="post_assessment"
delete window.queuePollerID
location.reload()
@reload()
else
window.queuePollerID = window.setTimeout(@poll, 10000)