Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/projects/WorkboardColumn.js
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | handleDragGhost: function(default_handler, ghost, node) { | ||||
return default_handler(ghost, node); | return default_handler(ghost, node); | ||||
}, | }, | ||||
_hasColumnHeaders: function() { | _hasColumnHeaders: function() { | ||||
var board = this.getBoard(); | var board = this.getBoard(); | ||||
var order = board.getOrder(); | var order = board.getOrder(); | ||||
// TODO: This should be modularized into "ProjectColumnOrder" classes, | return board.getOrderTemplate(order).getHasHeaders(); | ||||
// but is currently hard-coded. | |||||
switch (order) { | |||||
case 'natural': | |||||
return false; | |||||
} | |||||
return true; | |||||
}, | }, | ||||
redraw: function() { | redraw: function() { | ||||
var board = this.getBoard(); | var board = this.getBoard(); | ||||
var order = board.getOrder(); | var order = board.getOrder(); | ||||
var list = this._getCardsSortedByKey(order); | var list = this._getCardsSortedByKey(order); | ||||
▲ Show 20 Lines • Show All 271 Lines • Show Last 20 Lines |