MDL-52954 assign: Rebuild the assignment single grade page.

This commit is contained in:
Damyon Wiese 2016-02-01 16:13:46 +08:00
parent 2a3647bae5
commit bb690849c9
86 changed files with 4593 additions and 279 deletions

View file

@ -278,7 +278,7 @@ abstract class moodleform {
*/
function _process_submission($method) {
$submission = array();
if (!empty($this->_ajaxformdata) && defined('AJAX_SCRIPT')) {
if (!empty($this->_ajaxformdata)) {
$submission = $this->_ajaxformdata;
} else if ($method == 'post') {
if (!empty($_POST)) {