diff --git a/main/mySpace/myspace.lib.php b/main/mySpace/myspace.lib.php
index e54f3a5b4f..e09ecf82da 100644
--- a/main/mySpace/myspace.lib.php
+++ b/main/mySpace/myspace.lib.php
@@ -317,11 +317,20 @@ class MySpace {
$action_links = '';
// jqgrid will use this URL to do the selects
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_session_lp_progress&session_id=' . intval($sessionId);
- $table = Display::grid_js('lps', $url, $columns, $column_model, $extra_params, array(), $action_links, true);
-
-
- $return = '';
- $return .= Display::grid_html('lps');
+ $tableId = 'lpProgress';
+ $table = Display::grid_js($tableId, $url, $columns, $column_model, $extra_params, array(), $action_links, true);
+
+ $return = '';
+ $return .= Display::grid_html($tableId);
return $return;
}
/**
@@ -372,11 +381,21 @@ class MySpace {
$action_links = '';
// jqgrid will use this URL to do the selects
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_exercise_progress&session_id=' . intval($sessionId);
- $table = Display::grid_js('lps', $url, $columns, $column_model, $extra_params, array(), $action_links, true);
-
- $return = '';
- $return .= Display::grid_html('lps');
+ $tableId = 'exerciseProgressOverview';
+ $table = Display::grid_js($tableId, $url, $columns, $column_model, $extra_params, array(), $action_links, true);
+
+ $return = '';
+ $return .= Display::grid_html($tableId);
return $return;
}
/**
@@ -486,11 +505,20 @@ class MySpace {
$action_links = '';
// jqgrid will use this URL to do the selects
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_session_progress&session_id=' . intval($sessionId);
- $table = Display::grid_js('lps', $url, $columns, $column_model, $extra_params, array(), $action_links, true);
-
-
- $return = '';
- $return .= Display::grid_html('lps');
+ $tableId = 'progressOverview';
+ $table = Display::grid_js($tableId, $url, $columns, $column_model, $extra_params, array(), $action_links, true);
+
+ $return = '';
+ $return .= Display::grid_html($tableId);
return $return;
}
/**