|
|
@ -1169,8 +1169,17 @@ function chamilo_void_save_asset(score, max, min, status) { |
|
|
|
min = 0; |
|
|
|
min = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//assume a default of 100, otherwise the score will not get saved (see lpi->set_score()) |
|
|
|
// Assume a default of 100, otherwise the score will not get saved (see lpi->set_score()) |
|
|
|
xajax_save_item(olms.lms_lp_id, olms.lms_user_id, olms.lms_view_id, olms.lms_item_id, score, max, min, status); |
|
|
|
xajax_save_item( |
|
|
|
|
|
|
|
olms.lms_lp_id, |
|
|
|
|
|
|
|
olms.lms_user_id, |
|
|
|
|
|
|
|
olms.lms_view_id, |
|
|
|
|
|
|
|
olms.lms_item_id, |
|
|
|
|
|
|
|
score, |
|
|
|
|
|
|
|
max, |
|
|
|
|
|
|
|
min, |
|
|
|
|
|
|
|
status |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -1442,6 +1451,7 @@ function switch_item(current_item, next_item){ |
|
|
|
olms.lesson_location, |
|
|
|
olms.lesson_location, |
|
|
|
olms.interactions, |
|
|
|
olms.interactions, |
|
|
|
olms.lms_item_core_exit, |
|
|
|
olms.lms_item_core_exit, |
|
|
|
|
|
|
|
orig_item_type, |
|
|
|
olms.session_id, |
|
|
|
olms.session_id, |
|
|
|
olms.course_id, |
|
|
|
olms.course_id, |
|
|
|
olms.finishSignalReceived, |
|
|
|
olms.finishSignalReceived, |
|
|
@ -1536,6 +1546,7 @@ function switch_item(current_item, next_item){ |
|
|
|
olms.lesson_location, |
|
|
|
olms.lesson_location, |
|
|
|
olms.interactions, |
|
|
|
olms.interactions, |
|
|
|
olms.lms_item_core_exit, |
|
|
|
olms.lms_item_core_exit, |
|
|
|
|
|
|
|
orig_item_type, |
|
|
|
olms.session_id, |
|
|
|
olms.session_id, |
|
|
|
olms.course_id, |
|
|
|
olms.course_id, |
|
|
|
olms.finishSignalReceived, |
|
|
|
olms.finishSignalReceived, |
|
|
@ -1608,7 +1619,6 @@ function switch_item(current_item, next_item){ |
|
|
|
xajax_start_timer(); |
|
|
|
xajax_start_timer(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//(4) refresh the audio player if needed |
|
|
|
//(4) refresh the audio player if needed |
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|