Index: lams_learning/web/includes/javascript/gate-check.js =================================================================== diff -u -r896e5e929b496c1ad7a7fd9049b752f997d1c3f1 -rfe0eeacb777596f33a8f05f06c36f95c4b473d8e --- lams_learning/web/includes/javascript/gate-check.js (.../gate-check.js) (revision 896e5e929b496c1ad7a7fd9049b752f997d1c3f1) +++ lams_learning/web/includes/javascript/gate-check.js (.../gate-check.js) (revision fe0eeacb777596f33a8f05f06c36f95c4b473d8e) @@ -1,4 +1,4 @@ -function checkNextGateActivity(finishButtonId, userId, toolSessionId, lessonId, submitFunction){ +function checkNextGateActivity(finishButtonId, toolSessionId, lessonId, submitFunction){ // we need bootstrap tooltip, not jQuery UI one // if it has not been isolated yet, try to do it now if (typeof $.fn.bootstrapTooltip != 'function') { @@ -28,7 +28,7 @@ // check if there is a gate after this activity // if so, check if learner can pass $.ajax({ - 'url' : '/lams/learning/learner/isNextGateActivityOpen.do?userId=' + userId + '&toolSessionId=' + toolSessionId + '&lessonId=' + lessonId, + 'url' : '/lams/learning/learner/isNextGateActivityOpen.do?toolSessionId=' + toolSessionId + '&lessonId=' + lessonId, 'cache' : false, 'dataType' : 'json', 'success' : function(response) {