Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/projects/WorkboardCard.js
| Show All 23 Lines | getColumn: function() { | ||||
| return this._column; | return this._column; | ||||
| }, | }, | ||||
| setColumn: function(column) { | setColumn: function(column) { | ||||
| this._column = column; | this._column = column; | ||||
| }, | }, | ||||
| getProperties: function() { | getProperties: function() { | ||||
| return this.getColumn().getBoard().getCardTemplate(this.getPHID()) | return this.getColumn().getBoard() | ||||
| .getCardTemplate(this.getPHID()) | |||||
| .getObjectProperties(); | .getObjectProperties(); | ||||
| }, | }, | ||||
| getPoints: function() { | getPoints: function() { | ||||
| return this.getProperties().points; | return this.getProperties().points; | ||||
| }, | }, | ||||
| getStatus: function() { | getStatus: function() { | ||||
| return this.getProperties().status; | return this.getProperties().status; | ||||
| }, | }, | ||||
| getPriority: function(order) { | |||||
| return this.getProperties().priority; | |||||
| }, | |||||
| getNode: function() { | getNode: function() { | ||||
| if (!this._root) { | if (!this._root) { | ||||
| var phid = this.getPHID(); | var phid = this.getPHID(); | ||||
| var root = this.getColumn().getBoard() | var root = this.getColumn().getBoard() | ||||
| .getCardTemplate(phid) | .getCardTemplate(phid) | ||||
| .newNode(); | .newNode(); | ||||
| Show All 27 Lines | |||||