Opened 10 years ago

Closed 6 years ago

#14842 closed defect (fixed)

Dojo dnd avatar header text always show a number.

Reported by: jactive Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.8
Component: DnD Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:


var dndTarget = new Source(this.canvas, {

"creator" : function(data, hint) { ... }, "withHandles" : true, "generateText" : false


The generateText is specified to false. But dojo still generate avatar header which is not expected.

In the function update() of avatar.js, the codes looks like node.innerHTML = this._generateText();. I think it should be change to node.innerHTML = this.manager.source.generateText ? this._generateText() : "";

Be more specific. This issue happens in both dojo1.71 and dojo1.72. 1.71 dojo/dnd/Avatar.js, line 111 1.72 dojo/dnd/Avatar.js, line 101


Change History (1)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

This was fixed in 1.8.0, but never marked as fixed as the wrong ticket was cross-referenced.

Note: See TracTickets for help on using tickets.