Opened 10 years ago

Closed 10 years ago

#14854 closed defect (fixed)

dojox.layout.GridContainer: dojo._base.sniff dependency referenced as "sniff", but module uses "has()"

Reported by: talisto Owned by: bill
Priority: undecided Milestone: 1.8
Component: DojoX Layout Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

dojox.layout.GridContainer uses dojo._base.sniff as a dependency for the has() function, however the dojo._base.sniff module is defined as "sniff", instead of "has". This causes the error "has() is undefined" in various functions (e.g. when columns are resized).

I've attached a simple testcase; just resize one of the columns, which will produce the error.

Note: this is an issue with the git master/trunk (1.8.0) as of Feb 21, 2012, and is NOT an issue with the latest released version (1.7.2).

Attachments (1)

gridcontainertest.html (870 bytes) - added by talisto 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by talisto

Attachment: gridcontainertest.html added

comment:1 Changed 10 years ago by bill

Component: GeneralDojoX Layout
Description: modified (diff)
Milestone: tbd1.8
Version: 1.7.0

Thanks, I'll check in.

comment:2 Changed 10 years ago by bill

Owner: set to bill
Resolution: fixed
Status: newclosed

In [27960]:

fix AMD conversion error, fixes #14854 !strict

Note: See TracTickets for help on using tickets.