}
this.tasktype = tasktype;
[ 'All', 'Complete', 'Incomplete', 'Future' ].each(function(tasktype) {
- $('kronolithTasks' + tasktype).parentNode.removeClassName('activeTab');
+ $($('kronolithTasks' + tasktype).parentNode).removeClassName('activeTab');
});
$('kronolithTasks' + this.tasktype.capitalize()).parentNode.addClassName('activeTab');
this._loadTasks(this.tasktype);
offset = top - dragTop;
height = div.offsetHeight - offset;
div.setStyle({
- 'top': (div.offsetTop + offset) + 'px',
+ 'top': (div.offsetTop + offset) + 'px'
});
offset = d.ghost.offsetTop;
dragTop = top;
}.bind([this, div]),
'onEnd': function(d, e) {
this[0]._onDragEnd(d, this[1], innerDiv, event, midnight, view, step);
- }.bind([this, div]),
+ }.bind([this, div])
});
}