Skip to content

Commit

Permalink
Merge pull request #87 from adaptlearning/issues/1584
Browse files Browse the repository at this point in the history
issues/1584: navigation trigger navigation fix
  • Loading branch information
moloko authored Jun 16, 2017
2 parents 4a58f24 + 521f2b5 commit 5e9b8b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/adapt-assessmentArticleModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ define([
_reloadPage: function() {
this._forceResetOnRevisit = true;

Backbone.history.navigate("#/id/"+Adapt.location._currentId, { replace:true, trigger: true });
_.delay(function() {
Backbone.history.navigate("#/id/"+Adapt.location._currentId, { replace:true, trigger: true });
}, 250);
},

_resetQuestions: function(callback) {
Expand Down Expand Up @@ -778,4 +780,4 @@ define([
};

return AssessmentModel;
});
});

0 comments on commit 5e9b8b5

Please sign in to comment.