diff --git a/problem.html b/problem.html index 0222f57a82..76e56c6311 100644 --- a/problem.html +++ b/problem.html @@ -22,8 +22,9 @@ } }); } else /* if 'Reset' */ { + // Possible cleanup: Move from getJSON to just load $.getJSON('/modx/problem/${ id }/problem_reset', {'id':'${ id }'}, function(json) { - location.reload(true); // TODO: Reimplement with AJAX. + $('#main_${ id }').html(json); }); } });