Browse Source

修复轨迹模式下回评问题

ting.yin 6 years ago
parent
commit
f229619ad8

+ 3 - 2
stmms-web/src/main/webapp/static/mark-track/js/modules/mark-history.js

@@ -85,10 +85,11 @@ MarkHistory.prototype.init = function() {
 	this.container.paginator = getDom(this.paginator_dom, this.markControl).appendTo(this.container);
 	this.container.list = getDom(this.history_list_dom, this.markControl).appendTo(this.container).find('#history-list');
 
+	var self = this;
 	this.container.header.find('#close-history-button').click(this, function(event) {
 		event.data.toggle(false);
-		this.markControl.context.task = undefined;
-        this.markControl.getTask();
+		self.markControl.context.task = undefined;
+		self.markControl.getTask();
 	})
 	this.container.paginator.find('#last-page-button').click(this, function(event) {
 		var markHistory = event.data;