Skip to content

Commit

Permalink
Merge branch 'MDL-58835_master-fix' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Sep 13, 2017
2 parents 59f431e + a6edbef commit cf7430f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions admin/tool/analytics/classes/output/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function render_evaluate_results($results, $logs = array()) {
}

if (!CLI_SCRIPT) {
$output .= $OUTPUT->single_button(new \moodle_url('/admin/tool/analytics/index.php'), get_string('continue'));
$output .= $OUTPUT->single_button(new \moodle_url('/admin/tool/analytics/index.php'), get_string('continue'), 'get');
}

return $output;
Expand Down Expand Up @@ -200,7 +200,7 @@ public function render_get_predictions_results($trainresults = false, $trainlogs
}

if (!CLI_SCRIPT) {
$output .= $OUTPUT->single_button(new \moodle_url('/admin/tool/analytics/index.php'), get_string('continue'));
$output .= $OUTPUT->single_button(new \moodle_url('/admin/tool/analytics/index.php'), get_string('continue'), 'get');
}

return $output;
Expand Down
2 changes: 1 addition & 1 deletion report/insights/amd/build/actions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion report/insights/amd/src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
predictionContainers[0].remove();

// Move back if no remaining predictions.
if ($('.insights-list tr').length === 0) {
if ($('.insights-list tr').length < 2) {
window.history.back();
}
}).fail(Notification.exception);
Expand Down

0 comments on commit cf7430f

Please sign in to comment.