$. Ajax ({
Url: ELMS_API lmsLocation,
Data: jQuery. Param (jsonParam),
Async: false,
Type: "GET",
DataType: "json",
Success: the function (data) {
ELMS_API. SetCurrentAttemptNum (data [0]. CurrentAttemptNum);
ELMS_API. SetCurrentCourseUnitId (data [0]. CurrentCourseUnitId);
ELMS_API. SetCurrentLearnStatus (data [0]. CurrentLearnStatus);
ELMS_API. SetCurrentLearnTime (data [0]. CurrentLearnTime);
ELMS_API. SetLastLocation (data [0]. CurrentLocation);
ELMS_API. SetCurrentLocation (data [0]. CurrentLocation);
ELMS_API. SetSuspendData (data [0]. SuspendData);
ELMS_API. SetCurrentSignUpId (data [0]. CurrentSignUpId);
ELMS_API. SetLearnResultId (data [0]. LearnResultId);
ELMS_API. SetCswLearnResultId (data [0]. CswLearnResultId);
ELMS_API. SetTotalTime (data [0], totalTime);
ELMS_API. SetCompleteTime (data [0]. CompleteTime);
ELMS_API. SetStartDate (new Date ());
ELMS_API. SetInitializedState (true);
ELMS_API. LmsErrorManager. ClearCurrentErrorCode ();
}
});
}