Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#7829 closed defect (fixed)

[patch]dojox.grid.cells._Widget doesn't respect widgetClass in markup

Reported by: Bryan Forbes Owned by: Bryan Forbes
Priority: high Milestone: 1.2.1
Component: DojoX Grid Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

When using widgetClass from markup, the dojo.getObject in the constructor for dojox.grid.cells._Widget fails. This dojo.getObject should be wrapped in a typeof check:

if(typeof this.widgetClass == "string"){
    this.widgetClass = dojo.getObject(this.widgetClass);
}

Attachments (1)

7829_gridCellWidgetClass-1.2.patch (574 bytes) - added by Nathan Toone 11 years ago.
Patch against 1.2 branch which fixes this issue

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Nathan Toone

Patch against 1.2 branch which fixes this issue

comment:1 Changed 11 years ago by Nathan Toone

Summary: dojox.grid.cells._Widget doesn't respect widgetClass in markup[patch]dojox.grid.cells._Widget doesn't respect widgetClass in markup

comment:2 Changed 11 years ago by Nathan Toone

Fixed in trunk in [15455]

comment:3 Changed 11 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

fixed for 1.2.1 in [15504].

Note: See TracTickets for help on using tickets.