|
@@ -22,6 +22,9 @@ function MarkBoard(option) {
|
|
|
this.markControl.on('task.load.finish', this, function(event, context, eventObject) {
|
|
|
this.initByTask(context.task);
|
|
|
});
|
|
|
+ this.markControl.on('history.submit.success', this, function(event, context, eventObject) {
|
|
|
+ this.initByTask(context.task);
|
|
|
+ });
|
|
|
this.markControl.on('mark.focus.change', this, function(event, context, eventObject) {
|
|
|
this.onFocusChange();
|
|
|
});
|
|
@@ -438,6 +441,10 @@ MarkBoard.prototype.allZeroSubmit = function() {
|
|
|
positionY: 0
|
|
|
});
|
|
|
}
|
|
|
+ for (var i in this.task.markStepList) {
|
|
|
+ this.task.markStepList[i].markScore = 0;
|
|
|
+ this.task.markStepList[i].trackList = [];
|
|
|
+ }
|
|
|
this.onTaskSubmit();
|
|
|
}
|
|
|
}
|