Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/projects/WorkboardCard.js
Show All 34 Lines | members: { | ||||
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 template = this.getColumn().getBoard().getCardTemplate(phid); | var template = this.getColumn().getBoard().getCardTemplate(phid); | ||||
this._root = JX.$H(template).getFragment().firstChild; | this._root = JX.$H(template).getFragment().firstChild; | ||||
JX.Stratcom.getData(this._root).objectPHID = this.getPHID(); | JX.Stratcom.getData(this._root).objectPHID = this.getPHID(); | ||||
} | } | ||||
Show All 18 Lines |