|
@@ -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;
|